/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header & Nav */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    max-height: 55px;
    vertical-align: middle;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #001d4a;
    letter-spacing: 0.5px;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li a {
    text-decoration: none;
    color: #001d4a;
    padding: 10px 15px;
    font-weight: 600;
    transition: 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    color: #e63946;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 29, 74, 0.55), rgba(0, 29, 74, 0.55)), url('../image/cable.jpg') no-repeat center center / cover;
    color: #ffffff;
    text-align: center;
    padding: 120px 20px 100px 20px;
    min-height: 480px;
}

.hero-content {
    position: relative;
    height: 100%;
}

/* Registration Number - Top Right of Hero Area */
.registration-number {
    position: absolute;
    top: -80px;
    right: 0;
    background: #e63946;
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    letter-spacing: 1px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Large white tagline headline */
.hero .tagline {
    font-size: 2.2rem;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

/* Golden highlighted description */
.hero .description {
    max-width: 750px;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
    color: #ffc107;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* Banner Section */
.banner-section {
    background: #001d4a;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    border-top: 3px solid #e63946;
}

.banner-section h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.banner-section p {
    color: #a8dadc;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: #e63946;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #001d4a;
    margin-bottom: 10px;
}

/* Locations Section */
.locations {
    background: #edf2f4;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #001d4a;
    margin-bottom: 40px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.location-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #001d4a;
}

.location-card h3 {
    color: #e63946;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-info .phone {
    color: #001d4a;
    font-weight: bold;
    margin-bottom: 10px;
}

.location-card .address {
    font-size: 0.9rem;
    color: #555;
}

/* Call to Action & Membership Section */
.cta-section {
    background: #001d4a;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cta-section p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Membership Area */
.membership-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    max-width: 650px;
    margin: 20px auto 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.membership-title {
    color: #001d4a;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.membership-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}

.member-logo {
    max-height: 85px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.member-logo:hover {
    transform: scale(1.05);
}

/* Footer Section */
.footer {
    background: #e63946;
    color: #ffffff;
    padding: 22px 0;
    font-size: 0.98rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-right {
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .navbar ul {
        margin-top: 15px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .registration-number {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }

    .hero .tagline {
        font-size: 1.6rem;
        margin-top: 10px;
    }

    .hero {
        padding: 80px 20px;
        min-height: auto;
    }

    .membership-logos {
        gap: 40px;
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}