/* Professional Redesign CSS for IICAN Institute */

:root {
    --primary: #BE2224;
    --primary-hover: #a01a1c;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray-bg: #f8f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-4, .col-lg-6, .col-lg-8, .col-md-6, .col-lg-12 {
    padding: 0 15px;
    box-sizing: border-box;
}

.col-lg-12 { width: 100%; }
.col-lg-6 { width: 50%; }
.col-lg-4 { width: 33.333%; }
.col-lg-8 { width: 66.666%; }

@media (max-width: 991px) {
    .col-lg-6, .col-lg-4, .col-lg-8 { width: 100%; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-6 { width: 50%; }
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

.bg-gray {
    background-color: var(--gray-bg);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(190, 34, 36, 0.3);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Courses Section */
.course-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #eee;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.course-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.portfolio-img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.client-info {
    display: flex;
    align-items: center;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.client-name {
    font-weight: 700;
}

.client-occ {
    font-size: 0.9rem;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-padding { padding: 60px 0; }
}
