/* Import Google Fonts for Arabic */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* Root variables */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8f9fa;
    --accent-color: #ffc107;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

/* Base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Arabic', Arial, sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #f5f5f5;
    line-height: 1.6;
}

/* Bootstrap RTL adjustments */
.container, .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-auto, .col-sm, .col-sm-1, .col-sm-2, .col-sm-3,
.col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8,
.col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-auto,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4,
.col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,
.col-md-10, .col-md-11, .col-md-12, .col-md-auto,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4,
.col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9,
.col-lg-10, .col-lg-11, .col-lg-12, .col-lg-auto,
.col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4,
.col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9,
.col-xl-10, .col-xl-11, .col-xl-12, .col-xl-auto {
    padding-right: 15px;
    padding-left: 15px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color), #1e3d72);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.header .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.header .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.header .nav-link:hover {
    color: white !important;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(44, 90, 160, 0.8), rgba(30, 61, 114, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><polygon fill="%23ffffff" fill-opacity="0.1" points="0,100 50,120 100,100 150,120 200,100 250,120 300,100 350,120 400,100 450,120 500,100 550,120 600,100 650,120 700,100 750,120 800,100 850,120 900,100 950,120 1000,100 1000,300 0,300"/></svg>');
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Search form */
.search-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.search-form .form-control, .search-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-form .form-control:focus, .search-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1e3d72;
    border-color: #1e3d72;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.card-text {
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Premium card styling */
.card.premium {
    border: 2px solid var(--accent-color);
    position: relative;
}

.card.premium::before {
    content: "⭐ مميز";
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
}

/* User info */
.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
}

.user-details h6 {
    margin: 0;
    font-weight: 600;
}

.user-details small {
    color: #6c757d;
}

/* Rating */
.rating {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.rating .fa-star {
    margin-left: 2px;
}

/* Contact buttons */
.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.contact-buttons .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    color: white;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
    margin: 0 2px;
}

.page-link:hover {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border-right: 4px solid var(--success-color);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border-right: 4px solid var(--danger-color);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-right: 4px solid var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

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

.footer ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Dashboard */
.dashboard-sidebar {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-sidebar .nav-link {
    color: var(--dark-color);
    padding: 12px 15px;
    border-radius: var(--border-radius);
    margin-bottom: 5px;
    transition: all 0.3s;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.dashboard-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

/* File upload */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s;
    cursor: pointer;
}

.file-upload:hover {
    border-color: var(--primary-color);
}

.file-upload.dragover {
    border-color: var(--primary-color);
    background-color: rgba(44, 90, 160, 0.05);
}

/* Image gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

.image-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.image-item .delete-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .search-form {
        margin-top: -30px;
        padding: 1.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        margin-bottom: 1rem;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .search-form {
        padding: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Loading spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Profile Page Styles */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color), #1e3d72);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.profile-stats {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1rem;
}

.profile-stats .stat-item {
    text-align: center;
    padding: 0.5rem;
}

.profile-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.profile-stats .stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.profile-gallery .gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.profile-gallery .gallery-item:hover {
    transform: translateY(-3px);
}

.profile-gallery .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.profile-gallery .primary-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rating-form {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.rating-display {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.rating-display .rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.rating-display .rating-stars {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-display .rating-count {
    color: #6c757d;
    font-size: 0.9rem;
}

.comment-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--dark-color);
}

.comment-rating {
    color: var(--accent-color);
}

.comment-date {
    color: #6c757d;
    font-size: 0.85rem;
}

.comment-text {
    color: #495057;
    line-height: 1.6;
}

.premium-badge {
    background: linear-gradient(45deg, var(--accent-color), #ffdb4d);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.contact-section {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.contact-section .btn {
    margin: 0.25rem;
    min-width: 120px;
}

.profile-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #6c757d;
}

.profile-info-item i {
    width: 20px;
    margin-left: 0.5rem;
    color: var(--primary-color);
}

.text-content {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    border-right: 4px solid var(--primary-color);
}

.text-content:last-child {
    margin-bottom: 0;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h6 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Homepage Styles */
.premium-featured {
    border: 2px solid var(--accent-color);
    position: relative;
    background: linear-gradient(135deg, #fff, #fffbf0);
}

.premium-featured::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent var(--accent-color) transparent transparent;
    z-index: 1;
}

.premium-featured::after {
    content: "⭐";
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--dark-color);
    font-size: 1.2rem;
    z-index: 2;
}

.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: var(--dark-color);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem 0.75rem;
}

.table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-color: var(--border-color);
}

.table-hover tbody tr:hover {
    background-color: rgba(44, 90, 160, 0.05);
}

.online-status {
    color: var(--success-color);
    font-weight: 600;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Action buttons for table */
.btn-action {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: none;
    font-size: 1.1rem;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.btn-action.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.btn-action.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: white;
}

.btn-action.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.btn-action.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    color: white;
    transform: translateY(-2px) scale(1.05);
}

/* Gap utility for better spacing */
.gap-2 {
    gap: 0.5rem !important;
}

/* User name styling in table */
.user-name-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-name-link:hover {
    text-decoration: none;
    transform: translateX(-2px);
}

.user-name-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.user-name-link:hover .user-name-text {
    color: var(--primary-color);
}

/* Badge styling for premium users in table */
.user-name-cell .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    align-self: flex-start;
}

.btn-group .btn {
    margin: 0 2px;
}

.contact-buttons .btn {
    margin: 0 2px;
}

.contact-buttons .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Mobile Card Layout for Free Users Table */
.mobile-user-card {
    display: none;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.mobile-user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.mobile-user-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 1rem;
    flex-shrink: 0;
}

.mobile-user-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    flex-shrink: 0;
}

.mobile-user-info {
    flex: 1;
}

.mobile-user-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    text-decoration: none;
    display: block;
}

.mobile-user-name:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-user-details {
    font-size: 0.9rem;
    color: #007bff;
    line-height: 1.4;
}

.mobile-user-city,
.mobile-user-last-login {
    display: block;
    color: #007bff;
}

.mobile-user-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.mobile-user-premium-badge {
    margin-right: 0.5rem;
}

/* Table responsive improvements */
@media (max-width: 768px) {
    /* Hide the table and show mobile cards */
    .table-responsive {
        display: none;
    }
    
    .mobile-user-card {
        display: block;
    }
    
    .premium-featured .card-body {
        padding: 1rem;
    }
    
    .premium-featured .card-title {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    /* Ensure mobile cards are hidden on desktop */
    .mobile-user-card {
        display: none !important;
    }
    
    .table-responsive {
        display: block;
    }
}

@media (max-width: 576px) {
    /* Hide vehicle type column on very small screens */
    .table th:nth-child(4),
    .table td:nth-child(4) {
        display: none;
    }
    
    /* Further optimize table for very small screens */
    .table th,
    .table td {
        padding: 0.375rem 0.125rem;
        font-size: 0.8rem;
        max-width: 100px;
    }
    
    /* Optimize action buttons for very small screens */
    .btn-group .btn {
        padding: 0.125rem 0.25rem;
        font-size: 0.7rem;
    }
    
    /* Make table horizontally scrollable on very small screens */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Premium section styling */
.premium-section {
    background: linear-gradient(135deg, #fff9e6, #ffffff);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.premium-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.premium-section h2 i {
    margin-left: 0.5rem;
}

/* Enhanced card hover effects */
.premium-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.card:hover {
    transform: translateY(-3px);
}

/* Status indicators */
.status-online {
    color: var(--success-color);
    font-weight: 600;
}

.status-offline {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Utility classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-lg { box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important; }

.rounded { border-radius: var(--border-radius) !important; }
.rounded-lg { border-radius: calc(var(--border-radius) * 1.5) !important; }

/* Contact Action Buttons */
.contact-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.contact-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-decoration: none;
}

.contact-action-btn i {
    display: block;
    margin-bottom: 0.5rem;
}

.contact-action-btn strong {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-action-btn small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Call button specific styling */
.contact-action-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1e3d72);
    border: none;
    color: white;
}

.contact-action-btn.btn-primary:hover {
    background: linear-gradient(135deg, #1e3d72, #0f2347);
    color: white;
}

/* WhatsApp button specific styling */
.contact-action-btn.btn-success {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    color: white;
}

.contact-action-btn.btn-success:hover {
    background: linear-gradient(135deg, #128c7e, #0a5d55);
    color: white;
}

/* Pulse animation for contact buttons */
.contact-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-action-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Mobile responsive adjustments for contact buttons */
@media (max-width: 768px) {
    .contact-action-btn {
        padding: 1.25rem 0.75rem;
        margin-bottom: 1rem;
    }
    
    .contact-action-btn i {
        font-size: 1.5rem;
    }
    
    .contact-action-btn strong {
        font-size: 1rem;
    }
    
    .contact-action-btn small {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .contact-action-btn {
        padding: 1rem 0.5rem;
    }
    
    .contact-action-btn i {
        font-size: 1.25rem;
    }
}
