/* style/index-about-thabet-john.css */

/* Custom Colors */
:root {
    --thabet-john-primary: #11A84E; /* Main Color */
    --thabet-john-secondary: #22C768; /* Auxiliary Color */
    --thabet-john-button-gradient-start: #2AD16F;
    --thabet-john-button-gradient-end: #13994A;
    --thabet-john-card-bg: #11271B;
    --thabet-john-bg: #08160F;
    --thabet-john-text-main: #F2FFF6;
    --thabet-john-text-secondary: #A7D9B8;
    --thabet-john-border: #2E7A4E;
    --thabet-john-glow: #57E38D;
    --thabet-john-gold: #F2C14E;
    --thabet-john-divider: #1E3A2A;
    --thabet-john-deep-green: #0A4B2C;
}

/* Base styles for the page content, ensuring contrast with body background */
/* Body background is --thabet-john-bg (#08160F) which is dark, so text should be light */
.page-index-about-thabet-john {
    font-family: 'Arial', sans-serif;
    color: var(--thabet-john-text-main); /* Light text for dark background */
    background-color: var(--thabet-john-bg); /* Explicitly set for main content area if needed, but body handles it */
    line-height: 1.6;
}

.page-index-about-thabet-john__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-index-about-thabet-john__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px; /* Base padding */
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden; /* Ensure no overflow */
}

.page-index-about-thabet-john__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-index-about-thabet-john__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
}

.page-index-about-thabet-john__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-top: 20px;
}

.page-index-about-thabet-john__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--thabet-john-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-index-about-thabet-john__description {
    font-size: 1.2rem;
    color: var(--thabet-john-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-about-thabet-john__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-index-about-thabet-john__btn-primary,
.page-index-about-thabet-john__btn-secondary,
.page-index-about-thabet-john__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure text breaks words */
    text-align: center;
}

.page-index-about-thabet-john__btn-primary {
    background: linear-gradient(180deg, var(--thabet-john-button-gradient-start) 0%, var(--thabet-john-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-index-about-thabet-john__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-index-about-thabet-john__btn-secondary {
    background-color: transparent;
    color: var(--thabet-john-primary);
    border: 2px solid var(--thabet-john-primary);
}

.page-index-about-thabet-john__btn-secondary:hover {
    background-color: var(--thabet-john-primary);
    color: #ffffff;
    transform: translateY(-3px);
}