/* CSS Variables */
:root {
    --primary-color: #174d05;
    --secondary-color: #1F2937;
    --accent-color: #2a6b0e;
    --text-color: #374151;
    --light-bg: #F3F4F6;
    --white: #FFFFFF;
    --gradient-bg: linear-gradient(135deg, #174d05, #2a6b0e);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 8px 15px rgba(23, 77, 5, 0.15);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    background: none;
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
}

.mobile-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
    position: absolute;
    left: 8px;
}

.mobile-menu span:nth-child(1) {
    top: 12px;
}

.mobile-menu span:nth-child(2) {
    top: 19px;
}

.mobile-menu span:nth-child(3) {
    top: 26px;
}

.mobile-menu.active span:nth-child(1) {
    transform: translate(0, 7px) rotate(45deg);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: translate(0, -7px) rotate(-45deg);
}

/* Header and Navigation */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 75px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.9;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

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

.nav-links a.active {
    opacity: 1;
}

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

/* Language Selector Styles */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: 2rem;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.language-selector a {
    padding: 0.25rem 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 3px;
    opacity: 0.9;
}

.language-selector span {
    color: var(--white);
    opacity: 0.5;
    padding: 0 0.25rem;
}

.language-selector a.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: bold;
    opacity: 1;
}

.language-selector a:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

/* Hero Section */
.hero {
    background: var(--gradient-bg);
    color: var(--white);
    padding: 12rem 2rem 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated background gradient */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(23, 77, 5, 0.8) 0%,
        rgba(42, 107, 14, 0.6) 25%,
        rgba(23, 77, 5, 0.9) 50%,
        rgba(42, 107, 14, 0.7) 75%,
        rgba(23, 77, 5, 0.8) 100%
    );
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(5%, 5%) rotate(45deg) scale(1.05);
    }
    50% {
        transform: translate(15%, 15%) rotate(180deg) scale(1.1);
    }
    75% {
        transform: translate(5%, 5%) rotate(270deg) scale(1.05);
    }
}

/* Decorative circles */
.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: 10%;
    right: 5%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-40px) translateX(20px) scale(1.05) rotate(5deg);
    }
    50% {
        transform: translateY(-60px) translateX(0px) scale(1.15) rotate(10deg);
    }
    75% {
        transform: translateY(-40px) translateX(-20px) scale(1.05) rotate(5deg);
    }
}

/* Additional decorative elements */
.hero .decorative-circle-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    bottom: 15%;
    left: 8%;
    animation: floatReverse 18s ease-in-out infinite;
    z-index: 0;
}

.hero .decorative-circle-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: 20%;
    left: 15%;
    animation: floatDiagonal 22s ease-in-out infinite;
    z-index: 0;
}

.hero .decorative-circle-3 {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: 25%;
    right: 15%;
    animation: floatCircular 16s ease-in-out infinite;
    z-index: 0;
}

/* Reverse floating animation */
@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(50px) translateX(-30px) scale(1.1) rotate(-8deg);
    }
    50% {
        transform: translateY(80px) translateX(0px) scale(1.2) rotate(-15deg);
    }
    75% {
        transform: translateY(50px) translateX(30px) scale(1.1) rotate(-8deg);
    }
}

/* Diagonal floating animation */
@keyframes floatDiagonal {
    0%, 100% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(40px, -50px) scale(1.15) rotate(12deg);
    }
    66% {
        transform: translate(-40px, -80px) scale(1.25) rotate(-12deg);
    }
}

/* Circular floating animation */
@keyframes floatCircular {
    0%, 100% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(30px, -40px) scale(1.2) rotate(90deg);
    }
    50% {
        transform: translate(0px, -60px) scale(1.3) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -40px) scale(1.2) rotate(270deg);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

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

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .cta-button {
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.cta-button,
.solution-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

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

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

.cta-button:hover,
.solution-button:hover {
    transform: translateY(-2px);
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(23, 77, 5, 0.3);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

/* Hosting Solutions Section */
.hosting-solutions {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.hosting-solutions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.solution-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 700px;
    position: relative;
    padding-bottom: 5rem; /* Extra padding at bottom for button */
}

.solution-card .solution-button {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 200px;
    margin: 0; /* Reset margin */
}

.solution-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    background: linear-gradient(to bottom, var(--white), #f0f7ff);
    box-shadow: 0 8px 16px rgba(40, 81, 227, 0.1);
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.solution-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    padding: 0 1rem;
    line-height: 1.5;
}

.solution-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    padding-left: 1rem;
    flex: 1; /* Take up available space */
}

.solution-card ul li {
    margin-bottom: 1.2rem; /* Increased spacing between items */
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.4; /* Improved line height for readability */
}

.solution-card ul li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

/* Team Section */
.team {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.team-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.team-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--light-bg);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    margin: 0 auto 2rem;
    border-radius: 5px;
    max-width: 600px;
    text-align: center;
    font-size: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* reCAPTCHA Container */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.recaptcha-container > div {
    display: inline-block;
}

.contact-form button[type="submit"] {
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
}

/* Add container padding */
.features .container,
.hosting-solutions .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}


/* Accessibility - Visually hidden labels */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Facebook Messenger Chat Widget Customization */
.fb-customerchat {
    /* The widget will appear in bottom right by default */
    /* You can customize its position with these if needed */
}

/* Ensure the chat button has proper z-index */
.fb_dialog {
    z-index: 9999 !important;
}

/* Optional: Add a subtle animation when the chat loads */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fb-customerchat iframe {
    animation: slideInUp 0.5s ease-out;
}

