/* =============================================
   CCA Morena — Main Stylesheet
   ============================================= */

/* ---------------------------------------------
   CSS Variables
   --------------------------------------------- */
:root {
    --primary: #1a237e;
    --primary-dark: #0d47a1;
    --primary-light: #283593;
    --secondary: #ff6f00;
    --secondary-light: #ffa726;
    --success: #2e7d32;
    --danger: #c62828;
    --warning: #f57c00;
    --info: #1565c0;
    
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #4a4a6a;
    --text-light: #8888aa;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Noto Sans Devanagari', 'Segoe UI', sans-serif;
}

/* ---------------------------------------------
   Reset & Base
   --------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------------------------------------
   Typography
   --------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    background: rgba(255, 111, 0, 0.1);
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.view-all-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

/* ---------------------------------------------
   Buttons
   --------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ---------------------------------------------
   Header
   --------------------------------------------- */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-text small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 16px;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary);
    background: rgba(26, 35, 126, 0.05);
}

.main-nav a.help-cta {
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
}

.main-nav a.help-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* ---------------------------------------------
   Hero Section
   --------------------------------------------- */
.hero-section {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.svg') center/cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* ---------------------------------------------
   Services Section
   --------------------------------------------- */
.services-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.service-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.service-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

/* ---------------------------------------------
   Student Banner
   --------------------------------------------- */
.student-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa, #e8eaf6);
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.banner-text .banner-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
}

.banner-text h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.banner-text p {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 25px;
}

.banner-image {
    display: flex;
    justify-content: center;
}

.banner-image img {
    max-width: 100%;
    max-height: 300px;
}

/* ---------------------------------------------
   Jobs Section
   --------------------------------------------- */
.jobs-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.job-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.job-card h3 a {
    color: var(--text-dark);
}

.job-card h3 a:hover {
    color: var(--primary);
}

.job-meta {
    display: flex;
    gap: 15px;
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 15px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.job-salary {
    font-weight: 600;
    color: var(--success);
}

.featured-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(255, 111, 0, 0.1);
    padding: 2px 10px;
    border-radius: 12px;
}

/* ---------------------------------------------
   Business Section
   --------------------------------------------- */
.business-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.business-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.business-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.business-image {
    position: relative;
    height: 150px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-placeholder {
    font-size: 40px;
    color: var(--text-light);
}

.verified-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success);
    color: white;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.business-info {
    padding: 20px;
}

.business-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.business-info h3 a {
    color: var(--text-dark);
}

.business-desc {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.business-contact {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-gray);
}

.business-contact span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ---------------------------------------------
   Achievers Section
   --------------------------------------------- */
.achievers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa, #e8eaf6);
}

.achievers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.achiever-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.achiever-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.achiever-image {
    height: 160px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.achiever-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achiever-placeholder {
    font-size: 60px;
    color: var(--text-light);
}

.achiever-info {
    padding: 20px 20px 25px;
}

.achiever-info h3 {
    font-size: 18px;
    margin-bottom: 2px;
}

.achiever-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(255, 111, 0, 0.1);
    padding: 2px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.achiever-desc {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.read-more {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

.read-more:hover {
    color: var(--secondary);
}

/* ---------------------------------------------
   Updates Section
   --------------------------------------------- */
.updates-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.update-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.update-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.update-image {
    height: 200px;
    overflow: hidden;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.update-card:hover .update-image img {
    transform: scale(1.05);
}

.update-content {
    padding: 20px;
}

.update-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(26, 35, 126, 0.08);
    padding: 2px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.update-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.update-content h3 a {
    color: var(--text-dark);
}

.update-content h3 a:hover {
    color: var(--primary);
}

.update-excerpt {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.update-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.update-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ---------------------------------------------
   CTA Section
   --------------------------------------------- */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ---------------------------------------------
   Footer
   --------------------------------------------- */
.main-footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .logo-text small {
    color: rgba(255,255,255,0.6);
}

.footer-brand p {
    margin-top: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    max-width: 300px;
}

.footer h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom .disclaimer {
    font-size: 12px;
    margin-top: 5px;
    color: rgba(255,255,255,0.3);
}

/* ---------------------------------------------
   Responsive - Already in responsive.css
   --------------------------------------------- */