/* --------------------------------------------Global Styles---------------------------------------------- */
body {
    margin: 0px;
    font-family: "Poppins", sans-serif;
    background-color: #000000; /* black background */
    color: #ffffff; /* white text */
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: "Montserrat", sans-serif;
    margin-bottom: 5px;
}

h1 {
    font-size: 2.5rem;
    color: #f8b906; /* yellow for main heading */
}

h2 {
    font-size: 2rem;
    color: #f8b906; /* yellow subheadings */
}

h3 {
    color: #ffffff;
}

h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #f8b906; /* Yellow color */
    margin-bottom: 5px;
}

p {
    font-size: 1rem;
    margin-bottom: 15px;
}

a {
    color: #f8b906; /* Sets the default link color to your brand's yellow */
    text-decoration: none; /* Removes the underline from links */
    transition: color 0.3s ease; /* Adds a smooth transition effect */
}

a:hover {
    color: #ffffff; /* Changes the link color to white when a user hovers over it */
}

/* ----------------------------------------Navbar-------------------------------------------------- */
.site-header {
    background: #000000; /* dark nav */
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px; 
}

.logo-image {
    height: 50px; 
    width: auto; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-grow: 1; 
    justify-content: center;
    align-items: center;
}

.nav-links li {
    position: relative; /* Needed for dropdown positioning */
}

.nav-links a,
.dropdown .dropbtn {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 15px;
    display: inline-block;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a:hover,
.dropdown .dropbtn:hover {
    color: #f8b906;
}

.nav-links a.active-link {
    color: #f8b906;
    font-weight: 600;
    border-bottom: 2px solid #f8b906;
}

.menu-toggle {
    display: none;
}

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown menu */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Align below parent link */
    left: 0;
    background-color: #1e2128;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border-radius: 6px;
    z-index: 999;
}

/* Dropdown links */
.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    display: block;
    padding: 12px 15px;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s, padding-left 0.3s;
}

.dropdown-content li a:hover {
    background-color: #2a2a2a;
    padding-left: 20px; /* subtle slide effect */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}



/* -------------------------------Buttons ------------------------------------------*/
.btn-primary {
    display: inline-block;
    background: #f8b906;
    color: #000000;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #d39c04;
}

/* -----------------------------Footer--------------------------------- */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 40px 30px 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: auto;
    margin: auto;
}

.footer-logo {
    width: 150px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #cccccc;
}

.footer-links h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #f8b906;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: #cccccc;
    font-size: 1.6rem;
    transition: color 0.3s, transform 0.2s;
}

.social-icons a:hover {
    color: #f8b906;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    display: flex; /* Make it a flex container */
    justify-content: space-between; /* Space out elements */
    align-items: center; /* Vertically align items */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.footer-bottom hr {
    display: none; /* Hide the default horizontal rule */
}

.footer-bottom p {
    font-size: 0.90rem;
    color: #aaaaaa;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons .payment-logo {
    height: 25px; /* Adjust size as needed */
    filter: grayscale(100%) brightness(200%); /* Makes icons white */
}

/* ----------------------------------------------------------------------Page Content Styles----------------------------------------------------------------------- */
/* Main content container */
.container {
    max-width: 1500px;
    margin: 20px auto;
    padding: 20px 50px;
}

.intro{
    text-align: center;
    margin-bottom: 30px;
}

/* General section styling */
.section {
    padding: 50px;
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Reusable Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Styling for the text block next to the image */
.grid-2 > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-2 > div:last-child h2 {
    margin-bottom: 20px;
}

.grid-2 > div:last-child p {
    margin-bottom: 30px;
}

.section .icon-box i {
    font-size: 3rem; /* Adjust the size as needed */
    color: #f8b906; /* Match your brand color */
    padding: 15px; /* Add some padding if you want more space around the icon */
    border-radius: 50%;
}


/* Cards */
.card {
    width: auto;
    background: #1e2128;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-color: #f8b906; /* Optional: Change border to yellow on hover */
}

.card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.card .btn-link {
    color: #f8b906;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.card .btn-link:hover {
    color: #ffffff;
}

/* Styling for Font Awesome icons in this section */
.card-content .icon-box i {
    font-size: 3rem; 
    color: #f8b906; 
}

/* Reusable Image Container Styling */
.image-container-lg {
    background-color: none;
    padding: 0;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    box-shadow: none;
}

.image-container-lg img,
.hero .hero-image img,
.card .card-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /*filter: grayscale(100%);*/
    opacity: none;
}

/* Hero Section Refinements */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0px 50px 50px ;
    gap: 40px;
}

.hero .hero-text {
    flex: 1;
}

.hero .hero-text h1 {
    font-size: 2.8rem;
}

.hero .hero-text span {
    color: #f8b906;
}

.hero .hero-text p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 600px;
}

.hero .hero-image {
    flex: 1;
    text-align: right;
    margin-left: auto;
}

/* Hero for subpages (smaller, text-only) */
.hero-small {
    text-align: center;
    padding: 100px 20px;
    display: flex; /* Overrides default hero-small to be a flex container for responsiveness */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 100px;
}

.hero-small .hero-text {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-small h1 {
    font-size: 2.5rem;
}

.hero-small .hero-text p{
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Card with image on the side */
.card-image-left {
    display: flex;
    gap: 20px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: none;
}

.card-image-left:hover {
    transform: none;
    box-shadow: none;
}

.card-image-left .card-image-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image-left .card-image-box img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
}

.card-image-left .card-content {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    background-color: #0d0d0d;
    border: 1px solid #1a1a1a;
}

.card-image-left h3 {
    font-size: 1.5rem;
}

/* Reverses the order of a grid layout for visual variation */
.grid-reverse {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-reverse > :nth-child(1) {
    order: 2;
}

.grid-reverse > :nth-child(2) {
    order: 1;
}

/* Icon box */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box img {
    width: 30px;
    height: 30px;
}

/* Industries We Serve Section Cards */
.industries h2 {
    text-align: center;
    color: #f8b906;
}

.industries .card .icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.industries .icon-box i {
    font-size: 3rem; /* Adjust the size as needed */
    color: #f8b906; /* Match your brand color */
    padding: 15px; /* Add some padding if you want more space around the icon */
    border-radius: 50%;
    /* Add a background color if you want a circular background behind the icon */
    /* background-color: #1a1a1a; */
}

.industries .card {
    background: #1e2128;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #1a1a1a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industries .card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.industries .card p {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.industries .btn-link {
    display: inline-block;
    background-color: #000000;
    color: #f8b906;
    padding: 10px 25px;
    border: 1px solid #f8b906;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.industries .btn-link:hover {
    background-color: #f8b906;
    color: #000000;
}

/* Why Choose Us section adjustments */
.why-choose .grid-2 {
    align-items: center;
}

.why-choose h2 {
    text-align: left;
    margin-bottom: 20px;
}

/* This single rule is key to the horizontal alignment */
.why-choose .why-item {
    display: flex; /* Makes the children flex items, aligning them horizontally */
    align-items: flex-start; /* Aligns items to the top */
    gap: 20px; /* Provides consistent space between the icon and the text */
    margin-bottom: 10px;
}

.why-choose .why-item:last-child {
    margin-bottom: 0;
}

.why-choose .icon-box-small {
    flex-shrink: 0; /* Prevents the icon box from getting smaller */
}

/* This is the styling for the Font Awesome icon itself */
.why-item .icon-box-small i {
    font-size: 2.2rem;
    color: #f8b906;
}

.why-choose .why-item h3 {
    font-size: 1.15rem;
    color: #f8b906;
    margin-top: 0;
    margin-bottom: 5px;
}

.why-choose .why-item p {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0;
}


/* Call to Action Section */
.cta {
    background-color: #1e2128;
    color: #f8b906;
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    color: #f8b906;
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #ffffff;
}

.cta .btn-primary {
    background: #f8b906;
    color: #000000;
}

.cta .btn-primary:hover {
    background: #333333;
}

/* Reusable FAQ Styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #f8b906; /* Yellow border around the entire item */
    border-radius: 8px; /* Rounded corners for the entire item */
    margin-bottom: 15px; /* Spacing between each FAQ item */
    background-color: #0d0d0d; /* Slightly lighter dark background for the item itself */
    overflow: hidden; /* Ensures border-radius applies correctly to child elements */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.faq-item:last-child {
    margin-bottom: 0; /* No bottom margin for the last item */
}

.faq-item:hover {
    background-color: #1a1a1a; /* Slightly darker on hover for interaction */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 20px; /* Consistent padding inside the question area */
    background-color: transparent; /* Ensure question area background is transparent to show .faq-item background */
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #F8B906;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: #F8B906;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* Smooth transition for padding as well */
    background-color: #1e2128; /* Darker gray background for the answer content */
    padding: 0 20px; /* Horizontal padding, no vertical padding when closed */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed for your content */
    padding: 15px 20px; /* Vertical and horizontal padding when active */
}

/*------------------------------Government Solutions----------------------
Styling for the text block with a list */
.section .grid-2 > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section .grid-2 > div:first-child h3 {
    color: #f8b906; /* Yellow heading */
    margin-bottom: 10px;
}

.section .grid-2 > div:first-child p {
    color: #cccccc; /* Light gray paragraph text */
    margin-bottom: 20px;
}

/* List with checkmark icons */
.section ul {
    list-style: none; /* Remove default list bullets */
    padding: 0;
    margin: 0;
}

.section ul li {
    font-size: 1rem;
    color: #ffffff; /* White list text */
    margin-bottom: 10px;
    display: flex; /* Aligns the icon and text */
    align-items: center;
}

.section ul li i {
    color: #f8b906; /* Yellow color for the checkmark icon */
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    background: #0d0d0d;
    padding: 80px;
    border-radius: 8px;
    border: 1px solid #1a1a1a;
}

.contact-text {
    /* No additional padding needed here if you rely on the parent gap */
    padding-right: 20px;
}

.contact-text h2 {
    color: #f8b906; /* Ensure title color is consistent with brand */
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
}

.contact-text p {
    color: #b0b0b0;
}

.contact-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.contact-text li {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 15px; /* Increase spacing between list items */
    display: flex;
    align-items: flex-start; /* Aligns icons and text to the top */
}

/* Styling for contact links */
.contact-text ul li a {
    color: #f8b906;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text ul li a:hover {
    color: #ffffff;
}
.contact-text .icon {
    color: #f8b906;
    margin-right: 15px; /* Increase space between icon and text */
    font-size: 1.8rem;
    flex-shrink: 0; /* Prevents icon from shrinking */
}

.contact-form {
    display: flex;
    flex-direction: column;
    margin: 20px;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #333333;
    background: #000000;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f8b906;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background-color: #f8b906;
    color: #000000;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e0a800;
}

/* Style for the status messages */
.status-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.5s ease-in-out;
}

.status-message.success-message {
    background-color: #28a745; /* Green background for success */
    opacity: 1; /* Fade in when message is added */
}

.status-message.error-message {
    background-color: #dc3545; /* Red background for error */
    opacity: 1; /* Fade in when message is added */
}

/* Social Media Links Section */
.social-media-links {
    display: flex;
    justify-content: center; /* This will center the icons horizontally */
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: #f8b906; /* Yellow color for the icons */
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #ffffff; /* White color on hover */
    transform: scale(1.1);
}

/* Big Announcement Section */
.announcement-section {
    text-align: center; /* Centers the heading and paragraph */
    padding: 50px 0;
}

.announcement-section h2 {
    color: #ffffff; /* White color for the heading */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.announcement-section p {
    color: #f8b906; /* Yellow color for the paragraph */
    font-size: 1.2rem;
}

/* ---------------------------------- News & Article Page Styles --------------------------------- */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 0 20px 0 20px;
}

.article-card {
    display: block;
    background: #1e2128;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #1a1a1a;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover img {
    transform: scale(1.05);
}

.article-card .article-content {
    padding: 20px;
}

.article-card .article-content h3 {
    font-size: 1.25rem;
    color: #f8b906;
    margin-bottom: 10px;
}

.article-card .article-content p {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.5;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.article-title {
    font-size: 2.5rem;
    color: #f8b906;
    margin-bottom: 10px;
}

/* ---------------------------------- Certificate Image Styles ---------------------------------- */
.certificate-container {
    width: 100%;
    max-width: 700px;     /* keeps certificates at a manageable width */
    margin: 0 auto 40px auto;
    text-align: center;
    padding: 0 15px;      /* adds breathing space on mobile */
}

.certificate-image {
    width: 100%;
    max-width: 500px;     /* prevent images from being too big */
    height: auto;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.certificate-image:hover {
    transform: scale(1.02); /* subtle zoom effect */
}

.article-date {
    color: #b0b0b0;
    font-size: 1rem;
    margin-bottom: 30px;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-body p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 25px;
}

.back-link {
    margin-top: 50px;
    text-align: center;
}

.social-share {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.social-share p {
    margin: 0;
    color: #ffffff;
    font-weight: 500;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn i {
    font-size: 1rem;
}

/* Individual social colors */
.share-btn.facebook { background: #3b5998; color: #ffffff; }
.share-btn.facebook:hover { background: #334d84; }

.share-btn.twitter { background: #1da1f2; color: #ffffff; }
.share-btn.twitter:hover { background: #0d95e8; }

.share-btn.linkedin { background: #0077b5; color: #ffffff; }
.share-btn.linkedin:hover { background: #005983; }

.share-btn.whatsapp { background: #25D366; color: #ffffff; }
.share-btn.whatsapp:hover { background: #1da851; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* ------------------------------------ Smooth Scrolling & Animations ------------------------------------ */

/* Enable smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Initial fade-in animation for sections */
.section, .hero, .card, .industries .card, .why-choose, .cta, .contact-form-grid {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* When visible, fade & slide into place */
.section.visible, 
.hero.visible, 
.card.visible, 
.industries .card.visible, 
.why-choose.visible, 
.cta.visible, 
.contact-form-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle parallax-like image animation */
.image-container-lg img, 
.hero .hero-image img, 
.card .card-image-box img {
  transition: transform 1.5s ease, opacity 1.5s ease;
  transform: scale(1.05);
  opacity: 0.85;
}

.image-container-lg.visible img,
.hero.visible .hero-image img,
.card.visible .card-image-box img {
  transform: scale(1);
  opacity: 1;
}

/* Hover float for hero and section images */
.hero .hero-image img:hover,
.image-container-lg img:hover {
  transform: scale(1.05) translateY(-5px);
}

/* Optional glowing link hover animation */
a:hover {
  color: #f8b906;
  text-shadow: 0 0 6px rgba(248, 185, 6, 0.6);
}

/* Floating animation for icons */
@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.icon-box i, 
.industries .icon-box i,
.why-item .icon-box-small i {
  animation: floatIcon 3s ease-in-out infinite;
}

/* Optional subtle fade-up for footer */
.footer {
  animation: fadeInUp 1.5s ease-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------- Cookie Consent Banner -------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1e2128;
  color: #ffffff;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 9999;
  border-top: 2px solid #f8b906;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
  animation: fadeInUp 1s ease;
}

.cookie-banner p {
  flex: 1 1 70%;
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: #f8b906;
  text-decoration: underline;
}

.cookie-buttons {
  flex: 1 1 25%;
  text-align: right;
}

.cookie-buttons button {
  margin-left: 10px;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-buttons .btn-primary {
  background-color: #f8b906;
  color: #000000;
}

.cookie-buttons .btn-primary:hover {
  background-color: #d39c04;
}

.cookie-buttons .btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.cookie-buttons .btn-secondary:hover {
  background-color: #f8b906;
  color: #000000;
}

/* Fade-in Animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}



/*----------------------------------------------Responsive Design----------------------------------------------------*/

@media (min-width: 1201px) and (max-width: 1600px) {
    .logo-image {
        max-height: 60px; /* Adjust height for laptop screens */
    }
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .section {
        padding-left: 50px; /* More padding for larger screens */
        padding-right: 50px; /* More padding for larger screens */
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 15px;
    }

    .hero .hero-image {
        text-align: center;
        margin-top: 30px;
        margin-left: 0;
    }

    .hero.hero-small {
        flex-direction: column;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-grid {
        padding: 50px;
    }

    .why-choose .why-image {
        margin-bottom: 40px;
    }

    .why-choose .why-content {
        padding-left: 0;
    }

    .why-choose h2 {
        text-align: center;
    }
    
    .industries .card-grid-wrapper {
        max-width: 90%;
    }

    .image-container-lg {
        min-height: 300px;
        padding: 20px;
    }

    .image-container-lg img {
        max-width: 90%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 2rem;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {

    .nav-links {
        flex-direction: column;
        gap: 0;
        display: none; /* hidden initially for hamburger toggle */
        background-color: #000;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a,
    .dropdown .dropbtn {
        width: 100%;
        padding: 15px 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background-color: #111;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px;
        background-color: #fff;
        transition: all 0.3s ease;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand, .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 10px;
    }

    .why-choose .grid-2 {
        grid-template-columns: 1fr;
    }

    .why-choose .why-item {
        flex-direction: column; /* Stacks the icon and text vertically */
        align-items: center;
        text-align: center;
    }

    .contact-form-grid {
        padding: 20px;
    }

    .contact-text {
        padding-right: 0;
    }

    .contact-form {
        margin: 0;
    }

    .certificate-container {
        max-width: 90%;   /* container adjusts on tablet */
    }
    .certificate-image {
        max-width: 100%;  /* let image use available space */
    }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
    .nav-links {
        flex-direction: column;
        background: #1e2128;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        display: none;
        text-align: center;
        padding: 15px 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .navbar {
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1000;
        padding: 10px;
    }

    .menu-toggle .bar {
        width: 25px;
        height: 3px;
        background-color: #f8b906;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 60px 10px;
    }

    .hero .hero-text h1 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 30px 50px 30px;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .image-container-lg {
        min-height: 250px;
        padding: 15px;
    }

    .image-container-lg img {
        max-width: 95%;
    }

    .certificate-container {
        width: 100%;
        padding: 0 10px;
    }

    .certificate-image {
        margin-bottom: 20px;
    }
}


/* ============================================================
   NEWS PAGE — REDESIGNED LAYOUT
   ============================================================ */

/* Hero */
.news-hero {
    padding: 80px 0 50px;
    text-align: center;
}

.news-hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #f8b906;
    margin-bottom: 12px;
}

.news-hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(28px);
    animation: newsHeroIn 0.75s ease forwards 0.15s;
}

.news-hero-sub {
    font-size: 1.05rem;
    color: #888888;
    opacity: 0;
    animation: newsHeroIn 0.75s ease forwards 0.4s;
}

.news-hero::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #f8b906;
    margin: 28px auto 0;
    border-radius: 2px;
    opacity: 0;
    animation: newsHeroIn 0.6s ease forwards 0.6s;
}

@keyframes newsHeroIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Featured label */
.news-featured-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f8b906;
}

.news-featured-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #222;
}

/* Featured card */
.news-featured-section {
    padding-bottom: 60px;
}

.news-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    text-decoration: none;
    color: #ffffff;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-featured-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.news-featured-card:hover {
    border-color: rgba(248, 185, 6, 0.45);
    box-shadow: 0 24px 60px rgba(248, 185, 6, 0.08);
    color: #ffffff;
}

.news-featured-img-wrap {
    overflow: hidden;
}

.news-featured-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.news-featured-card:hover .news-featured-img {
    transform: scale(1.04);
}

.news-featured-body {
    padding: 50px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-body h2 {
    font-size: 1.85rem;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 14px;
    transition: color 0.3s;
}

.news-featured-card:hover .news-featured-body h2 {
    color: #f8b906;
}

.news-featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 18px;
}

.news-featured-meta .meta-divider {
    color: #444;
}

.news-excerpt {
    font-size: 0.97rem;
    color: #aaaaaa;
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Read more arrow button */
.news-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f8b906;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(248, 185, 6, 0.4);
    padding-bottom: 2px;
    width: fit-content;
    transition: gap 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.news-read-btn:hover {
    gap: 14px;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Category badges */
.news-category-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.tag-leadership {
    background: rgba(248, 185, 6, 0.12);
    color: #f8b906;
    border: 1px solid rgba(248, 185, 6, 0.3);
}

.tag-partnership {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.tag-acquisition {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

/* Section divider */
.news-more-section {
    padding-bottom: 80px;
}

.news-section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
}

.news-section-divider::before,
.news-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #1e1e1e;
}

/* Secondary cards grid */
.news-secondary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.news-secondary-card {
    display: block;
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1e1e1e;
    text-decoration: none;
    color: #ffffff;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease,
                border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-secondary-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.news-secondary-card:hover {
    border-color: #333;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    color: #ffffff;
}

.news-secondary-img-wrap {
    overflow: hidden;
}

.news-secondary-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.news-secondary-card:hover .news-secondary-img {
    transform: scale(1.06);
}

.news-secondary-body {
    padding: 24px;
}

.news-secondary-body h3 {
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.45;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.news-secondary-card:hover .news-secondary-body h3 {
    color: #f8b906;
}

.news-secondary-body p {
    font-size: 0.88rem;
    color: #888;
    line-height: 1.65;
    margin-bottom: 18px;
}

.news-secondary-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #555;
}

.news-secondary-meta span {
    color: #f8b906;
    font-weight: 600;
    transition: color 0.3s;
}

.news-secondary-card:hover .news-secondary-meta span {
    color: #ffffff;
}


/* ============================================================
   GM APPOINTMENT — ARTICLE PAGE STYLES
   ============================================================ */

.gm-article-header {
    padding: 60px 0 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.gm-article-title {
    font-size: 2.8rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 18px;
    max-width: 820px;
}

.gm-article-title .accent {
    color: #f8b906;
}

.gm-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: 0.88rem;
}

.gm-article-meta .meta-divider {
    color: #333;
}

.gm-article-meta i {
    margin-right: 4px;
    font-size: 0.8rem;
}

/* Two-column layout */
.gm-article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 60px;
    align-items: start;
}

/* Lead paragraph */
.gm-article-lead {
    font-size: 1.2rem;
    line-height: 1.85;
    color: #dddddd;
    margin-bottom: 32px;
    font-weight: 500;
}

/* Pull quote */
.gm-pull-quote {
    border-left: 4px solid #f8b906;
    margin: 0 0 36px;
    padding: 18px 26px;
    background: rgba(248, 185, 6, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #f8b906;
    line-height: 1.75;
}

/* Article body */
.gm-article-body p {
    font-size: 1.05rem;
    color: #cccccc;
    line-height: 1.85;
    margin-bottom: 24px;
}

.gm-related-link {
    margin-top: 36px;
    font-size: 0.88rem;
    color: #666;
}

/* Profile sidebar */
.gm-profile-sidebar {
    position: sticky;
    top: 100px;
}

.gm-profile-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gm-profile-card:hover {
    border-color: rgba(248, 185, 6, 0.4);
    box-shadow: 0 12px 40px rgba(248, 185, 6, 0.07);
}

.gm-profile-photo-wrap {
    background: #1a1a1a;
    padding: 28px 28px 0;
}

.gm-profile-photo {
    width: 100%;
    max-width: 200px;
    height: 240px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    border: 3px solid #f8b906;
    transition: border-color 0.3s;
}

.gm-profile-info {
    padding: 22px 24px 26px;
}

.gm-profile-name {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.gm-profile-title {
    font-size: 0.85rem;
    color: #f8b906;
    font-weight: 600;
    margin-bottom: 3px;
}

.gm-profile-org {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 16px;
}

.gm-profile-divider {
    height: 1px;
    background: #1e1e1e;
    margin-bottom: 16px;
}

.gm-profile-facts {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.gm-profile-facts li {
    font-size: 0.82rem;
    color: #aaaaaa;
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #1a1a1a;
}

.gm-profile-facts li:last-child {
    border-bottom: none;
}

.gm-profile-facts li i {
    color: #f8b906;
    width: 14px;
    flex-shrink: 0;
}


/* ── Responsive: News Page ── */
@media (max-width: 900px) {
    .news-featured-card {
        grid-template-columns: 1fr;
    }

    .news-featured-img {
        min-height: 240px;
    }

    .news-featured-body {
        padding: 30px 28px;
    }

    .news-featured-body h2 {
        font-size: 1.5rem;
    }

    .news-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .news-hero h1 {
        font-size: 2rem;
    }

    .news-featured-body h2 {
        font-size: 1.3rem;
    }
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* ── GM Overview Cards (top of article) ── */
.gm-overview-section {
    padding-top: 0;
    padding-bottom: 0;
}

.gm-overview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 32px auto 64px;
}

/* Horizontal card layout (photo left, content right) */
.gm-overview-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.gm-overview-card:hover {
    border-color: rgba(248, 185, 6, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(248, 185, 6, 0.1);
    color: #ffffff;
}

/* Left column: photo */
.gm-overview-photo-wrap {
    background: #1a1a1a;
    padding: 20px 14px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    width: 130px;
}

.gm-overview-photo {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    border: 2px solid #f8b906;
    display: block;
    transition: box-shadow 0.3s ease;
}

.gm-overview-card:hover .gm-overview-photo {
    box-shadow: 0 6px 22px rgba(248, 185, 6, 0.25);
}

/* Right column: info + CTA */
.gm-overview-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gm-overview-info {
    padding: 18px 16px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gm-overview-name {
    font-size: 0.92rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.gm-overview-card:hover .gm-overview-name {
    color: #f8b906;
}

.gm-overview-title {
    font-size: 0.74rem;
    color: #f8b906;
    font-weight: 600;
    margin-bottom: 5px;
}

.gm-overview-region {
    font-size: 0.72rem;
    color: #888;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.gm-overview-region i {
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.65rem;
}

/* CTA — pinned to bottom of card body */
.gm-overview-cta {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #f8b906;
    border-top: 1px solid #1e1e1e;
    padding: 11px 16px;
    margin-top: 0;
    transition: gap 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.gm-overview-card:hover .gm-overview-cta {
    gap: 12px;
    color: #ffffff;
    background: rgba(248, 185, 6, 0.06);
}

/* Scroll offset for sticky header on anchor targets */
.gm-bio-section {
    scroll-margin-top: 90px;
}

/* ── GM Article: Full-width content wrapper ── */
.gm-article-content {
    max-width: 860px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 60px;
}

.gm-article-closing {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.85;
    margin-top: 10px;
    margin-bottom: 36px;
}

/* Region divider */
.gm-region-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 52px 0 36px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #f8b906;
}

.gm-region-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #222;
}

.gm-region-divider i {
    font-size: 0.8rem;
}

/* Inline bio card */
.gm-bio-section {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 52px;
    padding-bottom: 52px;
    border-bottom: 1px solid #1a1a1a;
}

.gm-bio-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gm-bio-photo-wrap {
    flex-shrink: 0;
}

.gm-bio-photo {
    width: 190px;
    height: 235px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    display: block;
    border: 3px solid #f8b906;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.gm-bio-photo:hover {
    box-shadow: 0 8px 30px rgba(248, 185, 6, 0.2);
}

.gm-bio-name {
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.gm-bio-role {
    font-size: 0.85rem;
    color: #f8b906;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gm-bio-role i {
    font-size: 0.75rem;
}

.gm-bio-content p {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.85;
    margin-bottom: 14px;
}

/* MD Quote block */
.gm-md-quote {
    background: #0d0d0d;
    border: 1px solid #222;
    border-left: 4px solid #f8b906;
    border-radius: 0 10px 10px 0;
    padding: 32px 40px;
    margin: 52px 0 36px;
}

.gm-md-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #dddddd;
    line-height: 1.8;
    margin: 0 0 18px;
}

.gm-md-quote .quote-attribution {
    font-size: 0.88rem;
    color: #888;
    margin: 0;
}

.gm-md-quote .quote-attribution strong {
    color: #f8b906;
    font-style: normal;
}

/* ── Responsive: GM Article Page ── */
@media (max-width: 900px) {
    .gm-article-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .gm-profile-sidebar {
        position: static;
        order: -1;
    }

    .gm-profile-card {
        display: flex;
        align-items: stretch;
        text-align: left;
    }

    .gm-profile-photo-wrap {
        padding: 20px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .gm-profile-photo {
        max-width: 110px;
        height: 130px;
    }

    .gm-article-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .gm-article-title {
        font-size: 1.65rem;
    }

    .gm-article-lead {
        font-size: 1.05rem;
    }

    .gm-pull-quote {
        font-size: 1rem;
    }

    .gm-bio-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gm-bio-photo {
        width: 140px;
        height: 175px;
    }

    .gm-md-quote {
        padding: 24px 22px;
    }

    .gm-md-quote blockquote {
        font-size: 1rem;
    }

    /* Tablet: stack overview cards to 1 column, switch back to vertical */
    .gm-overview-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .gm-overview-card {
        flex-direction: row;
    }
}

@media (max-width: 600px) {
    /* Mobile: switch each card to vertical (photo top, content bottom) */
    .gm-overview-card {
        flex-direction: column;
    }

    .gm-overview-photo-wrap {
        width: auto;
        padding: 22px 22px 0;
        justify-content: flex-start;
    }

    .gm-overview-photo {
        width: 110px;
        height: 135px;
    }

    .gm-overview-info {
        padding: 14px 16px 10px;
    }

    .gm-overview-name {
        font-size: 0.95rem;
    }
}
