﻿/* ========================================
   COLLEGECARE ABOUT PAGE STYLING
   Complete Responsive Design
======================================== */

/* Root Variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --transition-speed: 0.3s;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

.abouts1{
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    padding-top:3rem;
    padding-bottom:3rem;
}

/* Container Styling */
.container {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease;
}

    .container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--primary-color), #667eea, #764ba2);
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Header Section */
.text-center h1 {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

    .text-center h1::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), #667eea);
        border-radius: 2px;
    }

.text-center .lead {
    font-size: 1.25rem;
    color: #6c757d;
    font-weight: 400;
}

/* Content Sections */
.row.mb-5 {
    align-items: center;
}

h3.fw-bold {
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.5rem;
}

    h3.fw-bold::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }

p.mb-4 {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Feature Card */
.feature-card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed) ease;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    overflow: hidden;
    position: relative;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), #667eea);
    }

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

    .feature-card .card-body {
        padding: 2rem;
    }

    .feature-card h4 {
        color: #2c3e50;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .feature-card .list-unstyled li {
        padding: 0.5rem 0;
        color: #555;
        font-weight: 500;
        transition: all var(--transition-speed) ease;
    }

        .feature-card .list-unstyled li:hover {
            color: var(--primary-color);
            transform: translateX(5px);
        }

        .feature-card .list-unstyled li i {
            transition: all var(--transition-speed) ease;
        }

        .feature-card .list-unstyled li:hover i {
            transform: scale(1.2);
        }

/* Icon Sections */
.col-lg-4 .text-center {
    padding: 2rem 1rem;
    border-radius: 15px;
    transition: all var(--transition-speed) ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .col-lg-4 .text-center:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    }

    .col-lg-4 .text-center i {
        background: linear-gradient(135deg, var(--primary-color), #667eea);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1rem;
        transition: all var(--transition-speed) ease;
    }

    .col-lg-4 .text-center:hover i {
        transform: scale(1.2) rotate(5deg);
    }

    .col-lg-4 .text-center h5 {
        color: #2c3e50;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .col-lg-4 .text-center p {
        color: #6c757d;
        line-height: 1.6;
    }

/* Success Icon Styling */
.fa-check.text-success {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Primary Icon Styling */
.text-primary {
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1199px) {
    .container {
        padding: 2.5rem 1.5rem;
    }

    .feature-card .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 991px) {
    .container {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .text-center h1 {
        font-size: 2.5rem;
    }

    .row.mb-5 .col-lg-6:first-child {
        margin-bottom: 2rem;
    }

    .feature-card {
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 1.5rem 1rem;
        border-radius: 15px;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .text-center h1 {
        font-size: 2rem;
    }

    .text-center .lead {
        font-size: 1.1rem;
    }

    h3.fw-bold {
        font-size: 1.5rem;
    }

    .feature-card .card-body {
        padding: 1.25rem;
    }

    .col-lg-4 .text-center {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

        .col-lg-4 .text-center h5 {
            font-size: 1.1rem;
        }
}

@media (max-width: 575px) {
    .container {
        padding: 1rem 0.75rem;
    }

    .text-center h1 {
        font-size: 1.75rem;
    }

    .text-center .lead {
        font-size: 1rem;
    }

    h3.fw-bold {
        font-size: 1.3rem;
    }

    p.mb-4 {
        font-size: 0.95rem;
    }

    .feature-card .card-body {
        padding: 1rem;
    }

    .feature-card h4 {
        font-size: 1.1rem;
    }

    .feature-card .list-unstyled li {
        font-size: 0.9rem;
    }

    .col-lg-4 .text-center {
        padding: 1.25rem 0.75rem;
    }

        .col-lg-4 .text-center h5 {
            font-size: 1rem;
        }

        .col-lg-4 .text-center p {
            font-size: 0.9rem;
        }
}

@media (max-width: 400px) {
    .container {
        padding: 0.75rem 0.5rem;
    }

    .text-center h1 {
        font-size: 1.5rem;
    }

        .text-center h1::after {
            width: 60px;
        }

    .feature-card .list-unstyled li {
        padding: 0.25rem 0;
        font-size: 0.85rem;
    }

    .col-lg-4 .text-center i {
        font-size: 1.5rem;
    }
}
