* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, #ae1b26 0%, #7a1620 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-badge {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border-radius: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a237e;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-img {
    height: 100%;
    width: 100px;
    object-fit: contain;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

.nav a:hover {
    color: #bbdefb;
    border-bottom-color: #bbdefb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.nav {
    transition: all 0.3s ease;
}

.nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding: 1rem;
    z-index: 99;
}

.nav.active ul {
    flex-direction: column;
    gap: 0;
}

.nav.active li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
}

.nav.active a {
    display: block;
    padding: 0.5rem 0;
}

/* ===== Desktop View ===== */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .nav {
        display: block !important;
    }
}

/* ===== Quick Services Section ===== */
.quick-services-section {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.quick-services-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #1a237e;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f4f8 100%);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 35, 126, 0.1);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(26, 35, 126, 0.2);
    border-color: rgba(26, 35, 126, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-box h3 {
    color: #1a237e;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-box p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.service-btn {
    background: linear-gradient(135deg, #ae1b26 0%, #7a1620 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(26, 35, 126, 0.4);
}

.service-btn-group {
    display: flex;
    gap: 0.5rem;
}

.service-btn-group .service-btn {
    flex: 1;
    padding: 0.6rem 0.5rem;
}

/* ===== Carousel Section ===== */
.carousel-section {
    padding: 4rem 0;
    background: #f5f5f5;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: white;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 53.34%; /* Reduced from 66.67% */
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 35, 126, 0.8);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
    border-radius: 4px;
}

.carousel-btn:hover {
    background: rgba(26, 35, 126, 1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

.carousel-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: #aaa;
}

/* ===== Credit Card Section ===== */
.credit-cards-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e4f5 100%);
}

.credit-cards-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
}

.credit-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.credit-card-wrapper {
    perspective: 1000px;
}

.credit-card {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
}

.credit-card:hover {
    transform: translateY(-15px) rotateX(8deg) rotateZ(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.credit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.credit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Card Variants */
.platinum-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gold-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.premium-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.elite-card {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.card-type {
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-middle {
    margin: 1.2rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-number {
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.cardholder {
    font-size: 0.8rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.expiry {
    font-size: 0.8rem;
    opacity: 0.85;
    text-transform: uppercase;
}

.chip {
    width: 55px;
    height: 45px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.chip::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        rgba(0, 0, 0, 0.12) 8px,
        rgba(0, 0, 0, 0.12) 10px
    );
    border-radius: 10px;
}

.card-details {
    margin-top: 1.5rem;
    padding: 1.8rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-details h3 {
    color: #1a237e;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.card-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
}

.card-benefits li {
    color: #555;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    padding-left: 1.2rem;
    font-weight: 500;
}

.apply-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platinum-btn {
    background: linear-gradient(135deg, #ae1b26 0%, #7a1620 100%);
}

.gold-btn {
    background: linear-gradient(135deg, #ae1b26 0%, #7a1620 100%);
}

.premium-btn {
    background: linear-gradient(135deg, #ae1b26 0%, #7a1620 100%);
}

.elite-btn {
    background: linear-gradient(135deg, #ae1b26 0%, #7a1620 100%);
}

.apply-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== Features Section ===== */
.features-section {
    padding: 4rem 0;
    background: white;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a237e;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a237e;
}

.card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.card-btn {
    background: linear-gradient(135deg, #ae1b26 0%, #7a1620 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(26, 35, 126, 0.4);
}

/* ===== Footer ===== */
.footer {
    background: #1a237e;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: #aaa;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav ul {
        gap: 1rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .carousel-section {
        padding: 3rem 0;
    }

    .carousel-btn {
        padding: 0.8rem 1rem;
        font-size: 1.3rem;
    }

    .carousel-btn.prev {
        left: 0.5rem;
    }

    .carousel-btn.next {
        right: 0.5rem;
    }

    .carousel-indicators {
        bottom: 0.8rem;
    }

    .quick-services-section {
        padding: 2rem 0;
    }

    .quick-services-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .service-box {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .service-box h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .service-box p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .service-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .features-section {
        padding: 3rem 0;
    }

    .features-section h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .credit-cards-section {
        padding: 3rem 0;
    }

    .credit-cards-section h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .credit-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
    }

    .carousel-section {
        padding: 2rem 0;
    }

    .carousel-item {
        min-height: 200px;
    }

    .carousel-indicators {
        bottom: 0.5rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .quick-services-section {
        padding: 1.5rem 0;
    }

    .quick-services-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-box {
        padding: 1.2rem;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .service-box h3 {
        font-size: 0.95rem;
    }

    .service-box p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .service-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        width: 100%;
    }

    .credit-cards-section {
        padding: 2rem 0;
    }

    .credit-cards-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }

    .credit-card {
        height: 180px;
        padding: 1.5rem;
        font-size: 0.9rem;
    }

    .card-number {
        font-size: 1.1rem;
    }

    .card-details {
        margin-top: 1rem;
        padding: 1rem;
    }

    .card-details h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .card-benefits li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .apply-btn {
        padding: 0.7rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .features-section {
        padding: 2rem 0;
    }

    .features-section h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .cards-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.5rem;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .card-btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .footer {
        padding: 2rem 0 0.5rem;
    }

    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1rem;
        grid-template-columns: 1fr;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }

    .footer-section a {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .footer-bottom {
        padding-top: 0.8rem;
        font-size: 0.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .carousel-btn {
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
    }
}
