/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Variable Definitions */
:root {
    --primary-green: #075E54;
    --action-green: #25D366;
    --bg-cream: #ECE5DD;
    --text-dark: #111B21;
    --bg-white: #FFFFFF;
    --border-light: #e0e0e0;
}

/* General Body Styles */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: var(--bg-cream);
    color: var(--text-dark);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.main-header {
    background-color: var(--primary-green);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { height: 40px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav ul li { margin: 0 18px; }
.main-nav a { color: var(--bg-white); text-decoration: none; font-weight: 500; }

/* Buttons */
.btn { padding: 10px 22px; border-radius: 20px; text-decoration: none; font-weight: 500; transition: transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-signin { background-color: transparent; border: 2px solid var(--action-green); color: var(--action-green); }
.btn-signup { background-color: var(--action-green); color: var(--bg-white); }
.btn-primary { background-color: var(--primary-green); color: white; display: block; width: 100%; text-align: center; padding: 14px 0; border-radius: 8px; text-decoration: none; font-size: 16px; font-weight: 500; }

/* Hero Section & Slideshow */
.hero-section {
    max-width: 100%;
    margin: 0;
    position: relative;
}
.hero-slide img {
    vertical-align: top;
    width: 100%;
}
/* --- ADD THIS NEW RULE --- */
.hero-slide {
    display: none;
}
/* ------------------------- */
.fade { animation: fade 1.5s ease-in-out; }
@keyframes fade { from { opacity: 0.4 } to { opacity: 1 } }

/* Hero Scroll Buttons */
.hero-scroll-buttons {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}
.btn-scroll {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}
.btn-scroll:hover {
    background-color: white;
    color: black;
}

/* Shared Section Styles */
.section-title { font-size: 36px; color: var(--primary-green); text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; margin-bottom: 40px; color: #555; }

/* Pricing Section */
.pricing-section { padding: 80px 0; }
.pricing-tabs { text-align: center; margin-bottom: 40px; }
.tab-link { background-color: var(--bg-white); border: 1px solid var(--border-light); padding: 12px 25px; cursor: pointer; font-size: 16px; margin: 0 5px; border-radius: 25px; transition: all 0.3s; }
.tab-link.active, .tab-link:hover { background-color: var(--primary-green); color: var(--bg-white); border-color: var(--primary-green); }
.tab-content { display: none; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.plan-card { background-color: var(--bg-white); border-radius: 8px; padding: 30px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 2px solid transparent; transition: all 0.3s; }
.plan-card.recommended { border-color: var(--action-green); transform: scale(1.05); }
.plan-card h3 { color: var(--primary-green); margin-top: 0; }
.plan-card .price { font-size: 40px; font-weight: 700; margin: 10px 0; }
.plan-card .price span { font-size: 16px; font-weight: 400; color: #777; }
.features-list { list-style-type: '✓'; list-style-position: inside; padding: 0; margin: 20px 0; text-align: left; color: #333; }
.features-list li { margin-bottom: 12px; }
/* Add this for the hover effect on all pricing plans */
.plan-card:hover {
    transform: translateY(-10px); /* Lifts the card up */
    border-color: var(--action-green); /* Highlights the border in green */
}

/* Add this to make sure the recommended card also lifts up when hovered */
.plan-card.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}


/* Features Showcase Section */
.features-showcase { padding: 60px 0; background-color: var(--bg-white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
/* Find and replace the .feature-item rule with this one */
.feature-item {
    background-color: var(--bg-white); /* Sets a solid white background */
    border: 1px solid #000000;      /* Adds a solid black border */
    border-radius: 8px;               /* Rounds the corners of the card */
    padding: 25px;                    /* Adjusts internal spacing */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Creates a subtle shadow */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooths the hover effect */
}

/* Optional: Add this rule for a nice hover effect */
.feature-item:hover {
    transform: translateY(-5px); /* Lifts the card on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Makes the shadow more prominent */
}

/* FAQ / Accordion Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-cream); /* Changed to cream to alternate sections */
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}
.faq-image-placeholder img {
    width: 100%;
    border-radius: 10px;
}
.accordion-item {
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-white);
}
.accordion-item:first-child { border-top-left-radius: 8px; border-top-right-radius: 8px; }
.accordion-item:last-child { border-bottom: none; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-green);
}
.accordion-header::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.accordion-content p {
    margin: 0;
    padding: 0 20px 20px 20px;
    line-height: 1.6;
}
.accordion-item.active .accordion-content {
    max-height: 200px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    z-index: 100;
    transition: opacity 0.3s, visibility 0.3s;
}
.back-to-top:hover {
    background-color: var(--action-green);
}

/* Footer */
.main-footer {
    background-color: var(--primary-green);
    color: var(--bg-white);
    text-align: center;
    padding: 20px 0;
}
#International .pricing-grid {
    display: flex;
    justify-content: center;
}
/* Responsive Adjustments */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav { display: none; }
}
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .plan-card.recommended { transform: scale(1); }
    .faq-grid { grid-template-columns: 1fr; }
}
/* Dropdown menu */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 220px;
}

nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

nav ul li.dropdown .dropdown-menu li {
    display: block;
    padding: 10px;
}

nav ul li.dropdown .dropdown-menu li a {
    color: #333;
    text-decoration: none;
    display: block;
}

nav ul li.dropdown .dropdown-menu li a:hover {
    background-color: #f0f0f0;
}

.footer-columns {
  display: flex;
  justify-content: flex-start; /* ✅ Aligns all to the left */
  align-items: flex-start;
  gap: 40px; /* spacing between columns */
  flex-wrap: wrap;
  text-align: left;
}

/* Star Ratings */
.review-summary { margin-bottom: 20px; }
.review-summary .stars .fa-star { color: #ccc; }
.review-summary .stars .fa-star.filled { color: #f89d13; }
