/* Custom styling for landing page - landing.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)),
        url('../../img/bg.avif') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-nav {
    padding: 20px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 40px;
}

.header-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-landing {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-certificate {
    background: transparent;
    border-color: #D4AF37;
    color: #D4AF37;
}

.btn-certificate:hover {
    background: #D4AF37;
    color: #000;
}

.btn-login {
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    color: #000;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
    border: 2px solid #D4AF37;
    color: #D4AF37;
    background: transparent;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: #D4AF37;
    color: #000;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 0;
}

.company-logo {
    font-size: 4rem;
    color: #FFD700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.tagline {
    font-size: 1.2rem;
    color: #D4AF37;
    margin-bottom: 40px;
    font-style: italic;
}

.about-section {
    max-width: 1000px;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 30px;
    backdrop-filter: blur(10px);
}

.about-title {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f0f0f0;
}

.diamond-icon {
    color: #FFD700;
    font-size: 2rem;
    margin: 0 10px;
}

.features {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #D4AF37;
}

.feature-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 15px;
}

/* ============ NEWSLETTER SUBSCRIPTION SECTION ============ */
.newsletter-section {
    margin: 80px 0;
    padding: 0 20px;
}

.newsletter-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    padding-right: 30px;
}

.newsletter-title {
    color: #FFD700;
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    line-height: 1.3;
}

.newsletter-description {
    color: #f0f0f0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.newsletter-benefits {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #d4d4d4;
}

.benefit-item i {
    margin-right: 12px;
    font-size: 1.1rem;
}

.text-gold {
    color: #D4AF37 !important;
}

/* Newsletter Form Styles */
.newsletter-form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h4 {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-header p {
    color: #d4d4d4;
    font-size: 1rem;
}

.newsletter-form .form-group {
    margin-bottom: 20px;
}

.newsletter-form .input-group {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.newsletter-form .input-group:focus-within {
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.newsletter-form .input-group-text {
    background: rgba(212, 175, 55, 0.1);
    border: none;
    color: #FFD700;
    width: 50px;
    justify-content: center;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    padding: 12px 15px;
    height: auto;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: none;
}

.newsletter-form select.form-control {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.newsletter-form select.form-control option {
    background: #1a1a1a;
    color: #fff;
}

.newsletter-form .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
}

.newsletter-form .form-check-input:checked {
    background-color: #D4AF37;
    border-color: #D4AF37;
}

.newsletter-form .form-check-label {
    color: #d4d4d4;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-subscribe {
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-subscribe:active {
    transform: translateY(0);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
    animation: bounceIn 0.8s ease;
}

.success-message h5 {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-message p {
    color: #d4d4d4;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Footer Styles */
.footer {
    margin-top: 50px;
    padding: 28px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b0b0b;
    color: #d6d6d6;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.9rem;
}

.footer-brand {
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 15px;
    color: #d4af37;
    margin-bottom: 16px;
}

.footer-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    font-size: 14px;
}

.footer-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer-details i {
    font-size: 18px;
}

.footer-details a {
    color: #fdfdfd;
    text-decoration: none;
}

.footer-details a:hover {
    color: #d4af37;
    text-decoration: underline;
}

/* Form Messages */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.form-message.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.form-message.info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.message-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.message-icon {
    font-size: 20px;
    margin-top: 2px;
}

.form-message.success .message-icon {
    color: #28a745;
}

.form-message.error .message-icon {
    color: #dc3545;
}

.form-message.info .message-icon {
    color: #17a2b8;
}

.message-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.message-text {
    margin: 0;
    font-size: 14px;
}

/* Form Validation Styles */
.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid+.input-group-text {
    border-color: #dc3545 !important;
}

/* Loading State */
.btn-subscribe:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============ RESPONSIVE DESIGN ============ */
/* Tablet and below */
@media (max-width: 992px) {
    .landing-container {
        padding: 15px;
    }

    .header-nav .row {
        flex-direction: column;
        text-align: center;
    }

    .header-nav .col-md-6 {
        width: 100%;
        text-align: center;
    }

    .header-nav .col-md-6:first-child {
        margin-bottom: 20px;
    }

    .header-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header-buttons a {
        width: 100%;
        max-width: 300px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 25px;
    }

    .header-nav img {
        max-height: 100px;
        width: auto;
    }

    .company-logo {
        font-size: 3rem;
        line-height: 1.2;
    }

    .tagline {
        font-size: 1.1rem;
        line-height: 1.6;
        padding: 0 15px;
    }

    .about-section {
        padding: 25px;
        margin: 20px 10px;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .footer {
        margin-top: 30px;
        padding: 15px;
    }

    .newsletter-section {
        margin: 60px 0;
    }

    .newsletter-card {
        padding: 30px;
    }

    .newsletter-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .newsletter-title {
        font-size: 1.8rem;
    }

    .newsletter-form-container {
        padding: 25px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .company-logo {
        font-size: 2.5rem;
    }

    .about-section {
        padding: 20px;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .feature-card h4 {
        font-size: 1.2rem;
    }

    .footer p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .newsletter-section {
        margin: 50px 0;
        padding: 0 15px;
    }

    .newsletter-card {
        padding: 25px 20px;
    }

    .newsletter-title {
        font-size: 1.6rem;
    }

    .newsletter-form-container {
        padding: 20px;
    }

    .btn-subscribe {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .landing-container {
        padding: 10px;
    }

    .header-nav {
        padding: 15px 0;
        margin-bottom: 25px;
    }

    .company-logo {
        font-size: 2rem;
        padding: 0 10px;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .about-section {
        padding: 20px 15px;
        margin: 15px 0;
    }

    .about-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .features {
        margin-top: 30px;
        gap: 15px;
    }

    .feature-card {
        padding: 15px;
    }

    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .btn-landing {
        padding: 12px 20px;
        font-size: 15px;
    }

    .newsletter-section {
        margin: 40px 0;
        padding: 0 10px;
    }

    .newsletter-card {
        padding: 20px 15px;
    }

    .newsletter-title {
        font-size: 1.4rem;
    }

    .newsletter-description {
        font-size: 1rem;
    }

    .newsletter-form .form-control {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .form-check-label {
        font-size: 0.85rem;
    }
}

/* Very small devices */
@media (max-width: 375px) {
    .company-logo {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .about-title {
        font-size: 1.3rem;
    }

    .about-text {
        font-size: 0.9rem;
    }

    .btn-landing {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Landscape mode optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .landing-container {
        padding: 10px;
    }

    .main-content {
        padding: 20px 0;
    }

    .company-logo {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .tagline {
        margin-bottom: 20px;
    }

    .about-section {
        padding: 15px;
        margin: 10px 0;
    }

    .features {
        margin-top: 20px;
        gap: 10px;
    }

    .feature-card {
        padding: 15px;
    }
}