/* --- 1. GLOBAL RESET & STICKY FOOTER --- */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff; /* Pure White Background */
    color: #334155; /* Original Text Dark Color */
}

main {
    flex: 1; 
    margin-top: 85px; /* Matches Header Height */
}

/* --- 2. THE FLOATING HEADER --- */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 85px; 
    z-index: 9999; 
    transition: top 0.4s ease-in-out; /* For Scroll Animation */
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-section { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 3.8rem; }
.brand-text { border-left: 2px solid #e2e8f0; padding-left: 1rem; margin-left: 1rem; }

/* BRAND COLORS APPLIED BELOW */
.company-name { 
    font-size: 1.5rem; 
    font-weight: 900; 
    color: #00A3AD; /* Brand Teal */
    text-transform: uppercase; 
    line-height: 1; 
}

.tagline { 
    font-size: 10px; 
    font-weight: 700; 
    color: #94a3b8; /* Original Light Grey */
    text-transform: uppercase; 
    letter-spacing: 0.2em; 
    margin-top: 0.25rem; 
}

/* NAVIGATION */
.desktop-nav { display: flex; gap: 1rem; align-items: center; }
.nav-item, .dropbtn { 
    font-size: 0.75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    color: #334155; 
    border: none; 
    background: none; 
    cursor: pointer; 
    text-decoration: none; 
}

.nav-item:hover, .dropdown:hover .dropbtn { color: #00A3AD; }

/* DROPDOWN */
.dropdown { position: relative; height: 85px; display: flex; align-items: center; }
.dropdown-content { 
    display: none; 
    position: absolute; 
    background-color: #ffffff; 
    min-width: 250px; 
    box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
    border-top: 4px solid #00A3AD; 
    top: 100%; 
    left: 0; 
}
.dropdown-content a { 
    color: #334155; 
    padding: 12px 20px; 
    text-decoration: none; 
    display: block; 
    font-size: 0.85rem; 
    border-bottom: 1px solid #f1f5f9; 
}
.dropdown-content a:hover { background-color: #f8fafc; color: #00A3AD; }
.dropdown:hover .dropdown-content { display: block; }

.contact-btn { 
    background-color: #00A3AD; 
    color: #ffffff; 
    padding: 0.5rem 1rem; 
    font-size: 0.75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    text-decoration: none; 
    border-radius: 2px; 
}

/* --- 3. THE 4-COLUMN FOOTER --- */
.main-footer {
    background-color: #0f172a; /* Brand Navy */
    color: #f8fafc;
    padding: 60px 0 20px 0;
    width: 100%;
}

.footer-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid !important; 
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 40px;
}

.footer-heading {
    color: #00A3AD; /* Brand Teal */
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 10px;
}

.footer-list { list-style: none; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: #cbd5e1; text-decoration: none; font-size: 0.85rem; }
.footer-list a:hover { color: #00A3AD; }

.corp-name { color: #ffffff; font-weight: 700; display: block; margin-bottom: 10px; }
.footer-addr { font-style: normal; font-size: 0.85rem; color: #94a3b8; line-height: 1.6; }

/* Teal Link for Email */
.footer-addr a {
    color: #00A3AD !important;
    text-decoration: none;
    font-weight: 600;
}

/* SOCIAL ICONS (Size 48px as requested previously) */
.social-box { display: flex; gap: 20px; margin-top: 25px; }
.social-box img { height: 20px; width: auto; transition: transform 0.3s; }
.social-box img:hover { transform: translateY(-5px); }

.footer-legal { 
    text-align: center; 
    border-top: 1px solid #1e293b; 
    margin-top: 40px; 
    padding-top: 20px; 
    font-size: 0.75rem; 
    color: #64748b; 
}

/* --- 4. RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-wrapper { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .footer-wrapper { grid-template-columns: 1fr !important; }
}

/* --- HERO BANNER SECTION --- */
.hero-banner {
    position: relative;
    width: 100%;
    height: 85vh; /* Large visual impact, slightly less than full screen to show scroll cue */
    overflow: hidden;
    background-color: #000; /* Fallback for image loading */
}

/* Slide Container */


/* Active Slide State */
.banner-slide.active {
    opacity: 1;
    z-index: 10;
}

/* Background Image Handling */
.banner-slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .75; /* Darkens image to prioritize text readability */
}

/* Text Content Area */
.banner-text-container {
    position: relative;
    z-index: 20;
    padding: 0 10%;
    max-width: 900px;
}

/* Small Uppercase Heading (Teal) */
.banner-text-container h2 {
    color: #00A3AD; /* Brand Teal */
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease forwards;
}

/* Main Large Heading (White) */
.banner-text-container h3 {
    color: #ffffff;
    font-size: 4rem; /* Bold, high-impact font size */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    animation: fadeInUp 1s ease forwards;
}

/* Call to Action Button */
.banner-btn {
    display: inline-block;
    background-color: #00A3AD;
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.banner-btn:hover {
    background-color: #008a93;
}

/* Animation for Text Entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-banner { height: 60vh; }
    .banner-text-container h3 { font-size: 2.5rem; }
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0; /* Hidden by default */
    transition: opacity 1.2s ease-in-out; /* The fade speed */
}

.banner-slide.active {
    opacity: 1; /* Visible when JS adds the class */
    z-index: 10;
}

/* --- STATS BAR SECTION --- */
.stats-bar {
    background-color: #00A3AD; /* Brand Teal */
    padding: 50px 0;
    width: 100%;
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 1.5rem;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff; /* White numbers for high contrast */
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0f172a; /* Brand Navy for readability */
    letter-spacing: 1.5px;
}

/* Responsive adjustments for Tablets and Phones */
@media (max-width: 768px) {
    .stat-item {
        flex: 50%; /* Shows 2 items per row */
        margin-bottom: 30px;
    }
    .stat-number { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .stat-item { flex: 100%; } /* Shows 1 item per row */
}

/* Table Styling for Product Page */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tech-table th {
    background-color: var(--brand-dark);
    color: white;
    text-align: left;
    padding: 12px 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.tech-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 15px;
}

.tech-table tr:nth-child(even) {
    background-color: #f1f5f9;
}

.tech-table tr:hover {
    background-color: #e0f2fe;
}

/* --- OUR PRODUCTS SECTION --- */
.products-preview {
    	max-width: 1280px;
    	margin: 50px auto;	
	margin-bottom: 50px;
	margin-top: 30px;
    	padding: 0 1.5rem;
}

.section-header { text-align: center; margin-bottom: 10px; margin-top: 10px; }
.section-title { font-size: 2.5rem; font-weight: 900; color: #00A3AD; text-transform: uppercase; margin: 0; }
.title-underline { hieght: 5px; width: 80px; background-color: #00A3AD; margin: 15px auto; height: 5px; }

/* Grids */
.product-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.product-small-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* Card Styling */
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card.large { border-left: 10px solid #00A3AD; }
.product-card.small { border-top: 5px solid #00A3AD; }

.product-card:hover { transform: translateY(-10px); }

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img { transform: scale(1.05); }

/* Text Content */
.product-info { padding: 30px; }
.product-info h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 15px; color: #0f172a; }
.product-info h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: #0f172a; }
.product-info p { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }

.product-link {
    color: #00A3AD;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid #00A3AD;
    padding-bottom: 4px;
    transition: padding-right 0.3s ease;
}

.product-link:hover { padding-right: 10px; }

/* Responsive */
@media (max-width: 992px) {
    .product-main-grid, .product-small-grid { grid-template-columns: 1fr; }
}

/* --- INDUSTRIES WE SERVE --- */
.industries-section {
    background-color: #0f172a; /* Brand Navy */
    padding: 30px 0;
    color: #ffffff;
}

.industries-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title-light {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: #ffffff;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 Columns for desktop */
    gap: 25px;
}

.industry-item {
    text-align: center;
}

.industry-card {
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1e293b;
    border: 1px solid #334155;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1; /* Desaturated look */
    transition: all 0.5s ease;
}

/* Hover Effects */
.industry-item:hover .industry-card img {
    opacity: 1; /* Full color on hover */
    transform: scale(1.1);
}

.industry-item:hover p {
    color: #00A3AD; /* Teal text on hover */
}

.industry-item p {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

/* Responsive Industry Grid */
@media (max-width: 1024px) {
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- CLIENT MARQUEE --- */
.client-marquee-section {
    background-color: #ffffff;
    padding: 60px 0;
    border-top: 0.5px solid #e2e8f0;
    border-bottom: 0.5px solid #e2e8f0;
    overflow: hidden;
}

.marquee-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    color: #00A3AD; /* Brand Teal */
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 40px;
    margin-top: 0px;
}

.marquee-wrapper {
    width: 100%;
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}


.marquee-content {
    display: flex;
    gap: 30px;
    align-items: center;
    width: max-content;
    /* We keep the name and timing function, but remove the '35s' */
    animation-name: scrollMarquee;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content img {
    height: 75px; /* Uniform height for all logos */
    width: auto;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
}


@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- PRODUCT PAGE STYLES --- */
.product-hero {
    background-color: #0f172a;
    padding: 100px 0;
    color: #fff;
}

.product-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 0 1.5rem;
}

.product-category {
    color: #00A3AD;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.product-hero h1 { font-size: 4rem; line-height: 1; margin: 0; }
.product-hero h2 { font-size: 2rem; color: #cbd5e1; margin-bottom: 20px; }

.product-hero-image img {
    width: 100%;
    border-radius: 10px;
    border-bottom: 8px solid #00A3AD;
}

/* TABLE STYLING */
.table-section { padding: 80px 0; }
.bg-light { background-color: #f8fafc; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.table-title {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.tech-table th {
    background-color: #0f172a;
    color: #fff;
    text-align: left;
    padding: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.tech-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
}

.highlight-cell {
    color: #00A3AD !important;
    background-color: #f0fdfa;
}

/* Responsive Table */
@media (max-width: 768px) {
    .product-hero-container { grid-template-columns: 1fr; text-align: center; }
    .tech-table { display: block; overflow-x: auto; }
}

/* --- COMPACT PRODUCT LAYOUT --- */
.product-detail-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.product-grid-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Left column wider for table */
    gap: 60px;
    padding: 0 1.5rem;
    align-items: start;
}

.product-title { font-size: 3.5rem; font-weight: 900; color: #0f172a; margin: 0; }
.product-subtitle { font-size: 1.5rem; color: #00A3AD; margin-bottom: 20px; font-weight: 700; }
.product-description { color: #64748b; line-height: 1.6; margin-bottom: 30px; font-size: 1rem; }

/* Compact Table Styling */
.small-table-title { font-size: 0.8rem; text-transform: uppercase; color: #94a3b8; letter-spacing: 1px; margin-bottom: 10px; }
.tech-table.compact { font-size: 0.85rem; margin-bottom: 30px; }
.tech-table.compact th { padding: 10px 15px; background: #f1f5f9; color: #0f172a; }
.tech-table.compact td { padding: 8px 15px; }

/* Download Link */
.download-btn-link {
    display: inline-block;
    color: #00A3AD;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    border: 2px solid #00A3AD;
    padding: 12px 25px;
    border-radius: 4px;
    transition: all 0.3s;
}
.download-btn-link:hover { background: #00A3AD; color: #fff; }

/* Image Styling */
.product-image-col img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Comparison Section */
.comparison-section { background-color: #f8fafc; padding: 60px 0; }
.tech-table.comparison .highlight { color: #00A3AD; background: #f0fdfa; font-weight: 700; }

/* Responsive */
@media (max-width: 992px) {
    .product-grid-container { grid-template-columns: 1fr; }
    .product-image-col { order: -1; } /* Image on top for mobile */
}

/* --- LAUNCHING SOON / TEASER SECTION --- */
.teaser-section {
    padding: 100px 0;
    background-color: #0f172a; /* Brand Navy */
    color: #ffffff;
    overflow: hidden;
}

.teaser-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 1.5rem;
}

.teaser-image {
    position: relative;
    flex: 1;
}

.teaser-image img {
    width: 100%;
    border-radius: 20px;
    filter: grayscale(0%) brightness(1);
    transition: all 0.5s ease;
}

.teaser-section:hover .teaser-image img {
    filter: grayscale(0%) brightness(0.9);
}

.launch-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #00A3AD;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.teaser-content {
    flex: 1;
}

.teaser-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 15px 0 25px;
    text-transform: uppercase;
}

.teaser-text {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Status Indicator */
.launch-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: #00A3AD;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 163, 173, 0.4);
    animation: pulse 2s infinite;
}

.status-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #00A3AD;
    text-transform: uppercase;
}

.interest-btn {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 2px solid #00A3AD;
    color: #00A3AD;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s;
}

.interest-btn:hover {
    background: #00A3AD;
    color: #fff;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 163, 173, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 163, 173, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 163, 173, 0); }
}

/* Mobile Setup */
@media (max-width: 992px) {
    .teaser-container { flex-direction: column; text-align: center; }
    .launch-status { justify-content: center; }
    .teaser-title { font-size: 2.2rem; }
}

/* ================================================================
   TRISING AUTOMATION - PRODUCT & CABINET SPECIALIZED STYLES
   (Cleaned & De-duplicated)
   ================================================================ */

/* 1. Thermal Management & Layout Utilities */
.bg-light-grey {
    background-color: #f8fafc;
}

/* 2. Fix for the 'Half Visible' Photo Issue 
   Using 'contain' ensures the full machine is visible. */
.cabinet-photo {
    width: 100% !important;
    max-height: 450px !important; 
    object-fit: contain !important; 
    object-position: center;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    background-color: transparent;
}

/* 3. Feature Lists & Bullet Points */
.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00A3AD; /* Brand Teal */
    font-weight: 900;
}

/* 4. Status Badges & Tags */
.cabinet-status {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.stat-tag {
    background: #e2e8f0;
    color: #0f172a;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 5. Laser Teaser Visibility Fix 
   Prevents the grayscale filter from hiding the machine details. */
.teaser-image img {
    filter: none !important;
    opacity: 1 !important;
}

/* 6. Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 163, 173, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 163, 173, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 163, 173, 0); }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */

/* 1. Layout Structure */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    align-items: start;
}

/* 2. Left Side: Info Card */
.info-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    border-top: 5px solid #00A3AD;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.info-card h2 {
    color: #0f172a;
    margin-top: 0;
    font-size: 1.8rem;
}

.contact-detail-item {
    margin-bottom: 25px;
}

.contact-detail-item strong {
    display: block;
    color: #00A3AD;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-detail-item p, .contact-detail-item a {
    font-size: 1.05rem;
    color: #334155;
    text-decoration: none;
    line-height: 1.6;
}

/* 3. Badge & Branding Section */
.badge-container {
    display: flex;
    gap: 25px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    align-items: center;
}

.badge-container img {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease;
}

.badge-container img:hover {
    transform: scale(1.05);
}

/* 4. Right Side: Technical Form */
.form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    margin: 0;
    color: #0f172a;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: #334155;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #00A3AD;
    background-color: #f0f9fa;
}

.submit-btn {
    background: #00A3AD;
    color: white;
    border: none;
    padding: 16px;
    width: 100%;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #008a93;
    box-shadow: 0 4px 12px rgba(0, 163, 173, 0.3);
}

/* 5. Map Styling */
.map-wrapper {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    border: 1px solid #e2e8f0;
}

/* 6. Responsive Adjustments */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        order: 2;
    }
    
    .form-card {
        order: 1;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .badge-container {
        justify-content: center;
    }
}

/* POPUP STYLES */
.anniversary-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9); /* Dark blue blur */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
}

.anniversary-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    text-align: center;
    border-top: 8px solid #00A3AD; /* Brand Teal */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-badge {
    background: #00A3AD;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 900;
    margin: -80px auto 20px;
    border: 5px solid #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.modal-title {
    color: #0f172a;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.modal-subtitle {
    color: #00A3AD;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.modal-divider {
    height: 2px;
    width: 50px;
    background: #e2e8f0;
    margin: 0 auto 20px;
}

.modal-message {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-motto {
    font-style: italic;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding: 0 20px;
}

.modal-btn {
    background: #0f172a;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-btn:hover { background: #00A3AD; }

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    border: none;
    background: none;
    cursor: pointer;
    color: #94a3b8;
}

.events-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

.events-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Exactly 2 cards per row */
    gap: 30px;
    margin-bottom: 30px;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    position: relative;
    height: 220px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-details {
    padding: 25px;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.event-description {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Status Tags */
.tag-past, .tag-news, .tag-upcoming {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.tag-past { background: #64748b; }
.tag-news { background: #00A3AD; } /* Brand Teal */
.tag-upcoming { background: #f59e0b; }

/* Responsive: Stack cards on mobile */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}
/* ================================================================
   EVENT & NEWS PAGE SPECIFIC STYLES
   (Paste this at the end of your recovered CSS file)
   ================================================================ */

/* 1. Page Title / Hero Area */
.page-title-section {
    padding: 60px 0 30px 0;
    text-align: center;
    background-color: #ffffff;
}

.page-main-heading {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a; 
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.title-divider {
    height: 5px;
    width: 80px;
    background-color: #00A3AD; 
    margin: 0 auto 25px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. Events Grid Layout */
.events-section {
    padding: 60px 0 100px 0;
    background-color: #ffffff;
}

.events-container-refined {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.event-row {
    display: flex;
    align-items: center; 
    gap: 60px;
    margin-bottom: 100px;
}

/* This creates the Alternating Zig-Zag effect */
.event-row.reverse { 
    flex-direction: row-reverse; 
}

/* 3. Event Visuals (Images) */
.event-visual {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 20px 20px 0px #f1f5f9; /* The Industrial Grey Shadow */
}

.event-visual img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.event-visual:hover img {
    transform: scale(1.05);
}

/* 4. Event Text Info */
.event-info { 
    flex: 1; 
}

.event-heading {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
}

.event-meta {
    font-weight: 700;
    color: #00A3AD; 
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.event-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}

/* 5. Status Badges (Past/Upcoming) */
.status-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    color: white;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 5;
    letter-spacing: 1px;
}

.status-badge.past { background: #0f172a; } /* Dark Navy */
.status-badge.upcoming { background: #00A3AD; } /* Brand Teal */

/* 6. Mobile Responsiveness */
@media (max-width: 992px) {
    .event-row, 
    .event-row.reverse { 
        flex-direction: column; 
        text-align: center; 
        gap: 30px; 
        margin-bottom: 70px;
    }
    
    .event-visual img {
        height: 300px;
    }

    .page-main-heading { 
        font-size: 2.2rem; 
    }
}