/*********************************************************************************

  Template Name: Dgtaka- crypto Currency HTML5 Template 
  Description: Dgtaka is a beautiful and unique Bootstrap 4 template.

**********************************************************************************/

/* Logo and Mobile Menu Alignment Fix */
@media only screen and (max-width: 991px) {
  .dg__header .logo {
    display: flex;
    align-items: center;
    height: 80px; /* Ensure consistent height */
    justify-content: flex-start;
  }
  
  .dg__header .logo a {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 0;
  }
  
  .dg__header .logo a img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
  }
  
  /* Align mobile menu with logo */
  .mean-container {
    top: 0 !important; /* Override the -9px positioning */
    display: flex;
    align-items: center;
    height: 80px; /* Match logo container height */
    justify-content: flex-end;
  }
  
  .mean-container a.meanmenu-reveal {
    height: 40px;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 15px;
  }
}

@media only screen and (max-width: 767px) {
  .dg__header .logo {
    height: 70px; /* Slightly smaller for mobile */
    align-items: flex-start; /* Align to top */
    padding-top: 10px; /* Add some top padding */
  }
  
  .dg__header .logo a {
    align-items: flex-start;
    padding-top: 0;
  }
  
  .dg__header .logo a img {
    max-height: 50px;
  }
  
  .mean-container {
    height: 70px; /* Match logo container height */
    align-items: flex-start; /* Align to top */
    padding-top: 10px; /* Match logo padding */
  }
  
  .mean-container a.meanmenu-reveal {
    height: 35px;
    line-height: 35px;
    padding: 0 12px;
  }
}

@media only screen and (max-width: 575px) {
  .dg__header .logo {
    height: 65px;
    align-items: flex-start;
    padding-top: 8px;
  }
  
  .dg__header .logo a {
    align-items: flex-start;
    padding-top: 0;
  }
  
  .dg__header .logo a img {
    max-height: 45px;
  }
  
  .mean-container {
    height: 65px;
    top: 0 !important; /* Override the 48px positioning */
    align-items: flex-start;
    padding-top: 8px; /* Match logo padding */
  }
  
  .mean-container a.meanmenu-reveal {
    height: 32px;
    line-height: 32px;
    padding: 0 10px;
  }
}

@media only screen and (max-width: 420px) {
  .dg__header .logo {
    height: 60px;
    align-items: flex-start;
    padding-top: 6px;
  }
  
  .dg__header .logo a {
    align-items: flex-start;
    padding-top: 0;
  }
  
  .dg__header .logo a img {
    max-height: 40px;
  }
  
  .mean-container {
    height: 60px;
    top: 0 !important; /* Override the 48px positioning */
    align-items: flex-start;
    padding-top: 6px; /* Match logo padding */
  }
  
  .mean-container a.meanmenu-reveal {
    height: 30px;
    line-height: 30px;
    padding: 0 8px;
  }
}

/* Download Buttons Styles */
.download-buttons {
    margin-top: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 80px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #333;
}

.download-btn__icon {
    font-size: 32px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    color: #fff;
}

.download-btn__content {
    display: flex;
    flex-direction: column;
}

.download-btn__label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.download-btn__platform {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* iOS Button */
.download-btn--ios {
    border-color: #007AFF;
}

.download-btn--ios:hover {
    border-color: #0056CC;
}

.download-btn--ios .download-btn__icon {
    background: linear-gradient(135deg, #007AFF, #0056CC);
}

/* Android Button */
.download-btn--android {
    border-color: #3DDC84;
}

.download-btn--android:hover {
    border-color: #2BB673;
}

.download-btn--android .download-btn__icon {
    background: linear-gradient(135deg, #3DDC84, #2BB673);
}

/* Windows Button */
.download-btn--windows {
    border-color: #0078D4;
}

.download-btn--windows:hover {
    border-color: #005A9E;
}

.download-btn--windows .download-btn__icon {
    background: linear-gradient(135deg, #0078D4, #005A9E);
}

/* macOS Button */
.download-btn--mac {
    border-color: #000000;
}

.download-btn--mac:hover {
    border-color: #333333;
}

.download-btn--mac .download-btn__icon {
    background: linear-gradient(135deg, #000000, #333333);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .download-btn {
        padding: 12px 15px;
        min-height: 70px;
    }
    
    .download-btn__icon {
        font-size: 28px;
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .download-btn__label {
        font-size: 11px;
    }
    
    .download-btn__platform {
        font-size: 14px;
    }
}

/* Contact Information Cards */
.contact-info-cards {
    padding: 20px;
}

.contact-info-cards h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    padding: 25px;
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-card .contact-icon {
    float: left;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-card .contact-icon i {
    font-size: 2.5rem;
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    padding: 15px;
    border-radius: 50%;
    display: block;
}

.contact-card .contact-details {
    overflow: hidden;
}

.contact-card .contact-details h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-card .contact-details p {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-card .contact-details small {
    color: #999;
    font-style: italic;
    font-size: 0.85rem;
}

/* Email card specific styling */
.contact-card:nth-child(2) {
    border-left-color: #28a745;
}

.contact-card:nth-child(2) .contact-icon i {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

/* Phone card specific styling */
.contact-card:nth-child(3) {
    border-left-color: #ffc107;
}

.contact-card:nth-child(3) .contact-icon i {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

/* Address card specific styling */
.contact-card:nth-child(4) {
    border-left-color: #dc3545;
}

.contact-card:nth-child(4) .contact-icon i {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

/* Social media card specific styling */
.contact-card:nth-child(5) {
    border-left-color: #6f42c1;
}

.contact-card:nth-child(5) .contact-icon i {
    color: #6f42c1;
    background: rgba(111, 66, 193, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .contact-card .contact-icon {
        float: none;
        text-align: center;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-card .contact-icon i {
        font-size: 2rem;
        padding: 12px;
    }
    
    .contact-card .contact-details {
        text-align: center;
    }
}

/* Alert styling for contact form messages */
.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert i {
    margin-right: 8px;
}

/* Form styling improvements */
.contact-form .single-contact-form input,
.contact-form .single-contact-form select,
.contact-form .single-contact-form textarea {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.contact-form .single-contact-form input:focus,
.contact-form .single-contact-form select:focus,
.contact-form .single-contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-btn button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn button:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}