@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2d3436;
    background-color: #f9f9f9;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html,
body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Notification Bar */
.news-ticker {
    background-color: #00b894;
    color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 900;
}

.ticker-content {
    white-space: nowrap;
    animation: ticker 45s linear infinite;
    display: inline-block;
    padding-left: 100%;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 20px 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #00b894;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: #2d3436;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00b894;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00b894;
}

.demo-btn {
    background: linear-gradient(135deg, #00b894 0%, #00d2a0 100%);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-btn::after {
    display: none;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    /* Above nav-links */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00b894;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Section Styles */
section {
    /* min-height: 100vh; */
    /* Removed forced min-height to fit content better */
    padding: 80px 20px;
}

/* Main wrapper to push footer down */
main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    /* Commented out in user CSS */
    /* display: flex;
    flex-direction: column;
    text-align: center; */
    /* Updated for 2-column layout */
    text-align: left;
    gap: 40px;
    align-items: center;
    background: radial-gradient(circle at 20% 50%, rgba(0, 230, 118, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 184, 148, 0.08) 0%, transparent 50%);
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* Override previous centering for content if needed */
.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #2d3436;
}

.hero-content h1 span {
    color: #00b894;
}

.hero-content p {
    font-size: 18px;
    color: #636e72;
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: 0;
    margin-right: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    justify-content: flex-start;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00b894;
    font-weight: 600;
    justify-content: flex-start;
}

/* Controller Card */
.hero-image-container {
    display: flex;
    justify-content: center;
    position: relative;
    gap: 40px;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 184, 148, 0.1);
    border-radius: 50%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
}

.controller-card {
    position: relative;
    z-index: 1;
    background: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    width: 280px;
    /* Fixed width */
}

.controller-card:hover {
    transform: translateY(-5px);
}

.controller-card img {
    width: 100%;
    height: 300px;
    /* Fixed height to match */
    border-radius: 15px;
    object-fit: cover;
    object-position: top;
    /* Ensure face is not cut off */
    margin-bottom: 15px;
}

.controller-info h3 {
    color: #2d3436;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 5px;
}

.controller-info p {
    color: #00b894;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 0;
}

.btn {
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00b894 0%, #00d2a0 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 184, 148, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00b894;
    border: 2px solid #00b894;
}

.btn-secondary:hover {
    background: #00b894;
    color: #fff;
    transform: translateY(-3px);
}



/* Cards & Grid */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #636e72;
}

.problem-grid,
.solution-grid,
.features-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2d3436;
}

.card p {
    color: #636e72;
    font-size: 15px;
    line-height: 1.7;
}

/* Tables */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on iOS */
    margin-bottom: 20px;
    /* spacing */
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    /* Force minimum width to trigger scroll on small screens */
    border-collapse: collapse;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
    /* Prevent awkward wrapping in tight cells */
}

/* Card-based layout for mobile tables */
@media (max-width: 768px) {
    .table-scroll {
        overflow-x: visible;
        /* Disable scroll for card layout */
    }

    .comparison-table {
        min-width: auto;
        /* Reset min-width */
        background: transparent;
        box-shadow: none;
        display: block;
    }

    .comparison-table tbody,
    .comparison-table th,
    .comparison-table td,
    .comparison-table tr {
        display: block;
    }

    .comparison-table thead {
        display: none;
        /* Hide header */
    }

    .comparison-table tbody tr {
        background: #fff;
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        padding: 15px;
    }

    .comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        text-align: right;
        white-space: normal;
        /* Allow wrap in card view */
    }

    .comparison-table td:last-child {
        border-bottom: none;
    }

    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #2d3436;
        margin-right: 15px;
        text-align: left;
        width: 40%;
        flex-shrink: 0;
    }
}

.comparison-table th {
    background: linear-gradient(135deg, #00b894 0%, #00d2a0 100%);
    color: #fff;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Forms */
.contact-form,
.result-form-container {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3436;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00b894;
}

/* Date input styling */
input[type="date"] {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    color: #2d3436;
    background-color: rgba(0, 184, 148, 0.05);
    /* Light teal background */
    border: 2px solid rgba(0, 184, 148, 0.3);
    font-weight: 500;
    transition: all 0.3s ease;
}

input[type="date"]:hover,
input[type="date"]:focus {
    background-color: #fff;
    border-color: #00b894;
    box-shadow: 0 4px 10px rgba(0, 184, 148, 0.1);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    /* Use a larger, cleaner area for the click target */
    padding: 5px;
    background-color: transparent;
    border-radius: 50%;
    /* Filter to match #00b894 (teal/green) */
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
    transition: transform 0.2s ease, background-color 0.2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    transform: scale(1.1);
    background-color: rgba(0, 184, 148, 0.1);
}

/* Modal */
.modal-overlay {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(34, 46, 61, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3436;
}

.modal-message {
    font-size: 1em;
    color: #636e72;
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-btn {
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #00b894 0%, #00d2a0 100%);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.4);
}

.modal-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
    line-height: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5em;
    color: #b2bec3;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: #2d3436;
}


/* Footer */
footer {
    background: #2d3436;
    color: #fff;
    padding: 60px 20px 30px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #00b894;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 184, 148, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00b894;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 79px;
        /* Adjusted for nav height */
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-image-container {
        order: 2;
        /* Move image below text on mobile if desired, or use -1 for top */
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons,
    .trust-badge {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    display: none;
    /* Hidden by default */
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    padding: 36px 30px 25px 30px;
    text-align: center;
    min-width: 320px;
    max-width: 9vw;
    position: relative;
    animation: popIn 0.38s cubic-bezier(.68, -0.55, .27, 1.55);
}

@keyframes popIn {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-title {
    font-size: 1.38em;
    font-weight: 700;
    margin-bottom: 7px;
    color: #00b894;
}

.modal-message {
    font-size: 1.05em;
    color: #222;
    margin-bottom: 18px;
}

.modal-btn {
    padding: 10px 26px;
    font-size: 1.06em;
    border-radius: 7px;
    border: none;
    background: linear-gradient(90deg, #24e9a5 0%, #17bebe 100%);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
}

.modal-btn:hover {
    background: linear-gradient(90deg, #17bebe 0%, #24e9a5 100%);
}

.modal-icon {
    font-size: 2.2em;
    margin-bottom: 12px;
    display: block;
}

.modal-close {
    position: absolute;
    top: 13px;
    right: 18px;
    font-size: 1.3em;
    color: #bbb;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #00b894;
}


/* Footer */
footer {
    background: #2d3436;
    color: #fff;
    padding: 60px 20px 30px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #00b894;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 184, 148, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00b894;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {

    /* Better Header Alignment */
    .navbar {
        padding: 15px 20px;
        /* Add side padding to container */
    }

    .logo {
        font-size: 1.4rem;
        /* Slightly smaller logo text for mobile */
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 79px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: right 0.3s ease-in-out;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        /* Subtle shadow */
        padding: 20px 0;
        border-top: 1px solid #f1f1f1;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
        /* Reset margin */
        width: 100%;
    }

    .nav-links a {
        font-size: 16px;
        font-weight: 500;
        display: block;
        padding: 10px 0;
        color: #2d3436;
        border-bottom: 1px solid #f9f9f9;
        /* Subtle divider */
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: #00b894;
        background-color: #fcfcfc;
        /* Light hover background */
        padding-left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
        /* Keep existing font size */
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Result Notification List Styles */
.result-notifications-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.result-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    overflow: hidden;
    cursor: pointer;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #00b894;
}

.result-card-content {
    display: flex;
    align-items: center;
    padding: 24px;
    gap: 24px;
}

.result-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: rgba(0, 184, 148, 0.1);
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
}

.result-date .day {
    font-size: 24px;
    font-weight: 700;
    color: #00b894;
    line-height: 1;
}

.result-date .month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #2d3436;
    margin-top: 2px;
}

.result-date .year {
    font-size: 12px;
    color: #636e72;
}

.result-info {
    flex: 1;
}

.result-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.result-card:hover .result-info h3 {
    color: #00b894;
}

.result-info p {
    font-size: 14px;
    color: #636e72;
    margin: 0;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.new-badge {
    background: #ff7675;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.result-arrow {
    font-size: 24px;
    color: #dfe6e9;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.result-card:hover .result-arrow {
    color: #00b894;
    transform: translateX(5px);
}

@media (max-width: 600px) {
    .result-card-content {
        flex-direction: column;
        /* Stack date and text */
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }

    .result-date {
        flex-direction: row;
        /* Horizontal date on mobile */
        gap: 8px;
        width: 100%;
        justify-content: flex-start;
        padding: 5px 0;
        background: none;
        border-radius: 0;
        min-width: auto;
    }

    .result-date .day {
        font-size: 18px;
    }

    .result-date .month,
    .result-date .year {
        font-size: 14px;
        line-height: 1.5;
    }

    .result-arrow {
        display: none;
        /* Hide arrow on mobile to save space */
    }

    .badge {
        display: inline-block;
        margin-left: 0;
        margin-bottom: 5px;
    }
}

/* About Page - Profile Section */
.profile-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.profile-image {
    flex-shrink: 0;
    width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-content {
    flex: 1;
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 5px;
}

.profile-role {
    font-size: 18px;
    color: #00b894;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(0, 184, 148, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

.profile-bio {
    font-size: 16px;
    line-height: 1.8;
    color: #636e72;
    margin-bottom: 20px;
}

.profile-bio p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .profile-image {
        width: 100%;
        max-width: 300px;
    }
}

/* Footer Map */
.footer-map iframe {
    width: 100%;
    height: 150px;
    border: 0;
    border-radius: 10px;
    margin-top: 10px;
}

/* --- Memo / Statement of Marks Styles --- */
.memo-container {
    background: white;
    padding: 20mm;
    margin: 0 auto;
    position: relative;
    color: #000;
    font-family: 'Times New Roman', Times, serif;
    /* Formal font */
}

/* Header */
.memo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.memo-header-logo {
    width: 80px;
    height: auto;
}

.memo-header-text {
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.memo-header-text h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    color: #e74c3c;
    /* Trinity Red */
    text-transform: uppercase;
}

.memo-header-text h2 {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
    color: #2c3e50;
    text-transform: uppercase;
}

.memo-header-text p {
    font-size: 14px;
    margin: 2px 0;
    color: #000;
}

/* Title */
.memo-title {
    text-align: center;
    margin-bottom: 30px;
}

.memo-title h3 {
    font-size: 22px;
    text-decoration: underline;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #000;
}

.memo-title p {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

/* Student Details */
.student-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 15px;
}

.student-row {
    display: flex;
}

.student-label {
    width: 150px;
    font-weight: bold;
}

.student-value {
    font-weight: 500;
}

/* Marks Table */
.memo-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.memo-table th,
.memo-table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: center;
}

.memo-table th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.memo-table td.subject-name {
    text-align: left;
    padding-left: 10px;
}

/* Summary */
.performance-summary {
    border: 1px solid #000;
    padding: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    font-size: 15px;
    background: #fafafa;
}

/* Footer Info */
.memo-footer-info {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.grading-scale h4 {
    font-size: 14px;
    margin-bottom: 10px;
    text-decoration: underline;
}

.grading-row {
    display: flex;
    font-size: 13px;
    width: 120px;
    border-bottom: 1px dotted #ccc;
    padding: 2px 0;
}

.grading-row span:first-child {
    flex: 1;
    font-weight: bold;
}

.notes-section {
    margin-top: 15px;
    font-size: 12px;
}

.notes-section p {
    margin: 2px 0;
}

.certification {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.signature-box {
    margin-top: 60px;
    font-weight: bold;
    text-align: center;
}

/* Print Styles */
@media print {
    body {
        visibility: hidden;
        background: white;
    }

    nav,
    footer,
    .result-display-container>div:last-child {
        display: none !important;
    }

    .result-display-container {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none !important;
    }

    .memo-container {
        padding: 10mm;
        /* Slightly less padding for print */
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .hero-image-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .trust-badge {
        justify-content: center;
    }
}