/* Modern UI Custom Styles for Manvi Fish Farming */

/* =========================================
   1. Global Variables & Utilities
   ========================================= */
:root {
    --primary-color: #49a760;
    --secondary-color: #f7c35f;
    /* Gold-ish */
    --accent-color: #2c3e50;
    --text-dark: #333;
    --text-light: #fff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #49a760 0%, #3e8e41 100%);
    --gradient-gold: linear-gradient(135deg, #f7c35f 0%, #f39c12 100%);
}

.modern-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: #f8f9fa;
}

.text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* =========================================
   2. Modern Cards
   ========================================= */
.modern-card {
    background: var(--text-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-box-large {
    width: 80px;
    height: 80px;
    background: rgba(73, 167, 96, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.modern-card:hover .icon-box-large {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: scale(1.1) rotate(5deg);
}

.heading {
    color: var(--text-dark);
    font-weight: 700;
}

/* =========================================
   3. Modern Form Styles
   ========================================= */
.modern-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.modern-form .form-control {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    /* Added visible border */
    border-radius: 12px;
    padding: 15px 20px;
    height: auto;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.modern-form .form-control:focus {
    background: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(73, 167, 96, 0.1);
}

.modern-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-modern {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(73, 167, 96, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    /* Full width on mobile/default */
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(73, 167, 96, 0.4);
    color: var(--text-light);
}

.btn-modern i {
    margin-right: 10px;
    font-size: 20px;
}

/* =========================================
   4. Contact Page Specifics
   ========================================= */
.contact-hero {
    background: url('../img/banner/4.jpg') center/cover no-repeat;
    position: relative;
    padding: 100px 0;
    color: var(--text-light);
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.contact-hero .content {
    position: relative;
    z-index: 1;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-top: 60px;
    border: 5px solid var(--text-light);
}

/* =========================================
   5. Vacancy / Career Page Specifics
   ========================================= */
.vacancy-header {
    background: var(--gradient-primary);
    padding: 100px 0;
    color: white;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 60px;
}

.job-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.job-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-color);
}

.job-tag {
    background: rgba(247, 195, 95, 0.2);
    color: #d35400;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.apply-card {
    background: var(--text-light);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.apply-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(73, 167, 96, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

/* =========================================
   6. Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
    .modern-section {
        padding: 50px 0;
    }

    .modern-card {
        padding: 30px 20px;
    }

    .vacancy-header {
        border-radius: 0 0 30px 30px;
        padding: 80px 0;
    }

    .btn-modern {
        width: 100%;
    }
}