/* landing.css */

/* General Reset and Base Styles */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;

}

/* Improved Navbar Styles (No Transparency) */
.navbar {
    /* Solid primary color */
    background-color: #2c3e50 !important;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.776);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 2.2rem;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.nav-link {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8)!important;
    margin: 0 1rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #fff;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link.active {
    color: #fff !important;
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}


.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #2c3e50;
    border-color: #fff;
}

.hero-section {
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0.8;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}


.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 3; /* Ensure text is above background shapes */
  padding-top: 200px; /* Push text downward */
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #555;
}

.hero-section .btn {
    padding: 0.9rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-primary {
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
    border: none;
}

.hero-section .btn-primary:hover {
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 82, 204, 0.4);
}

.hero-section .btn-outline-light {
    border: 2px solid #2c3e50;
    color: #2c3e50;
    background: transparent;
}

.hero-section .btn-outline-light:hover {
    background: #2c3e50;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 82, 204, 0.4);
}

#about {
    padding: 7rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    animation: fadeInDown 1s ease-in-out;
}

.lead-text {
    font-size: 1.15rem;
    color: #6c757d;
    animation: fadeInUp 1s ease-in-out;
}

.feature-card {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '\f3e0';
    font-family: 'bootstrap-icons';
    position: absolute;
    font-size: 3rem;
    color: rgba(0, 86, 179, 0.05);
    top: 20px;
    right: 20px;
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-title {
    color: #2c3e50;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #2c3e50;
}

.feature-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.read-more-btn {
    background-color: #2c3e50;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: #2c3e50;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.2);
}

/* Keyframes */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Contact Section */
#contact {
    padding: 6rem 0;
    background: #ffffff;
}

#contact h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #2c3e50;
}

#contact .lead {
    font-size: 1.3rem;
    color: #8d8d8d;
    text-align: center;
    margin-bottom: 3rem;
}

#contact form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#contact form:hover {
    transform: translateY(-5px);
}

#contact .form-label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.1rem;
}

#contact .form-control {
    border-radius: 10px;
    padding: 0.8rem;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact .form-control:focus {
    border-color: #8d8d8d;
    box-shadow: 0 0 8px rgba(132, 130, 129, 0.3);
}

#contact .btn-primary {
    background-color: #2c3e50;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
}

#contact .btn-primary:hover {
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
    box-shadow: 0 6px 15px rgba(0, 82, 204, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50, #2c3e50) !important;
    padding: 3rem 0;
    color: #e6f0fa;
    align-items: center;
}

footer p {
    margin: 0;
    font-size: 1rem;
    justify-content: center;
    align-items: center;
}

footer .social-links {
    display: flex;
    justify-content:center;
    gap: 1.5rem;
}

footer .social-links a {
    font-size: 1rem;
    color: #e6f0fa !important;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-links a:hover {
    color: #ff6f61 !important;
    transform: translateY(-3px);
}

/* Modal Styles */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-in-out;
}

.modal-header {
    border-bottom: none;
    padding: 1.8rem;
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
}

.modal-header.bg-success {
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
}

.modal-header.bg-primary {
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
}

.modal-header h5 {
    font-weight: 600;
    color: #fff;
}

.modal-body {
    padding: 2.5rem;
}

.modal .form-label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.1rem;
}

.modal .form-control {
    border-radius: 10px;
    padding: 0.8rem;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal .form-control:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 8px rgba(245, 234, 234, 0.3);
}

.modal .btn {
    border-radius: 50px;
    padding: 0.9rem 2.5rem;
    font-weight: 600;
}

.modal .btn-primary {
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
    border: none;
}

.modal .btn-primary:hover {
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
    box-shadow: 0 6px 15px rgba(245, 234, 234, 0.3);
}

.modal .btn-success {
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
    border: none;
}

.modal .btn-success:hover {
    background: linear-gradient(135deg, #2c3e50, #2c3e50);
    box-shadow: 0 6px 15px gba(245, 234, 234, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1.5rem;
    }

    .nav-link {
        margin: 0.8rem 0;
    }

    #about .row {
        grid-template-columns: 1fr;
    }

    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section .btn {
        padding: 0.7rem 2rem;
        font-size: 1rem;
    }

    #about h2,
    #contact h2 {
        font-size: 2.2rem;
    }

    #about .lead,
    #contact .lead {
        font-size: 1.1rem;
    }

    #contact form {
        padding: 1.8rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.6rem;
    }

    .hero-section .container {
        padding: 1.5rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    #about .bg-white {
        padding: 1.5rem;
    }

    #contact form {
        padding: 1.2rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}


.card-holder-bg .credit-card {
  animation: spin 20s linear infinite;
}

@keyframes spin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.card-holder-bg {
  position: absolute;
  top: 20px; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  width: 400px; /* Increased size */
  height: 250px; /* Increased size */
  z-index: 2; /* Higher than text background */
}


.card-holder-bg .credit-card {
  animation: spin 20s linear infinite;
}

.credit-card {
  width: 100%;
  height: 100%;
  background-color: #2c3e50;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(44, 62, 80, 0.4);
}



.chip {
  width: 60px;
  height: 45px;
  background: linear-gradient(135deg, #ccc, #eee);
  border-radius: 6px;
  box-shadow: inset -4px -4px 8px rgba(255,255,255,0.8), inset 4px 4px 6px rgba(0,0,0,0.15);
  position: relative;
}
.chip::before, .chip::after {
  content: '';
  position: absolute;
  background: #bbb;
  border-radius: 2px;
}
.chip::before {
  width: 12px;
  height: 30px;
  top: 7px;
  left: 10px;
  box-shadow: 1px 0 1px rgba(255,255,255,0.7);
}
.chip::after {
  width: 12px;
  height: 30px;
  top: 7px;
  left: 28px;
  box-shadow: 1px 0 1px rgba(255,255,255,0.7);
}

.card-number {
  letter-spacing: 3.5px;
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 24px;
  font-family: 'OCR A Std', monospace;
}
.card-info {
  display:flex;
  justify-content:space-evenly;
  margin-top: 28px;
  font-size: 0.9rem;
  font-weight: 600;
}
.card-info div {
  display: flex;
  flex-direction: column;
}
.card-label {
  font-size: 0.65rem;
  opacity: 0.7;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.cardholder-name, .expiry-date {
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.bank-logo {
  font-weight: 700;
  font-size: 1.2rem;
  align-self: flex-end;
}
.credit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 70%);
}
