/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d7a;
    --primary-dark: #0d3a5f;
    --primary-light: #2d6ba3;
    --accent-color: #28a745;
    --accent-dark: #1e7e34;
    --accent-light: #34ce57;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --text-lighter: #adb5bd;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-section: #f1f5f9;
    --bg-dark: #e9ecef;
    --border-color: #dee2e6;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-large: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

.nav-logo a:hover {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a4d7a 0%, #0d3a5f 50%, #28a745 100%);
    color: white;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(40, 167, 69, 0.2) 0%, transparent 50%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text-content {
    animation: fadeInLeft 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.badge-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-light);
}

.hero-title-secondary {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.4;
}

.hero-description-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-tagline {
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 2;
}

.hero-tagline p {
    margin: 0.3rem 0;
    opacity: 0.9;
}

.hero-greeting {
    font-size: 1.8rem;
    margin-top: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.hero-images-section {
    animation: fadeInRight 1s ease;
}

.hero-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-image-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-large);
    transition: var(--transition);
}

.hero-image-item.large {
    grid-column: 1 / -1;
    height: 300px;
}

.hero-image-item:not(.large) {
    height: 200px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.hero-image-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hero-img:not([src]),
.hero-img[src=""] {
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.3) 0%, rgba(40, 167, 69, 0.3) 100%);
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-light) 0%, white 100%);
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.stat-card.featured {
    border-top-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: inline-block;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    display: inline-block;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Programs Section */
.programs-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    opacity: 1 !important;
    visibility: visible !important;
}

.programs-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.program-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-featured:hover {
    box-shadow: var(--shadow-hover);
}

.program-featured:nth-child(even) {
    direction: rtl;
}

.program-featured:nth-child(even) > * {
    direction: ltr;
}

.program-icon-large {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    display: inline-block;
    border: 2px solid var(--primary-color);
}

.program-title-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.program-description-large {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.program-features {
    margin-bottom: 2rem;
}

.program-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.feature-icon {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.program-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.program-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.program-featured-images {
    position: relative;
}

.program-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.program-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.program-img:not([src]),
.program-img[src=""] {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-dark) 100%);
}

/* About IIMSAM Section */
.about-iimsam-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-section) 0%, white 100%);
}

.about-iimsam-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-iimsam-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.about-iimsam-content p {
    margin-bottom: 1.5rem;
}

.about-iimsam-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-point-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-point-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.point-icon {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    flex-shrink: 0;
    padding: 0.8rem 1.2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    min-width: 80px;
    text-align: center;
}

.point-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.point-content p {
    color: var(--text-light);
    font-size: 1rem;
}

.about-iimsam-images {
    position: relative;
}

.about-image-stack {
    position: relative;
    height: 400px;
    min-height: 300px;
}

.about-stack-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
    transition: var(--transition);
}

.about-stack-img.main {
    z-index: 3;
    transform: translate(0, 0);
}

.about-stack-img:nth-child(2) {
    z-index: 2;
    transform: translate(-20px, 20px) scale(0.95);
    opacity: 0.8;
}

.about-stack-img:nth-child(3) {
    z-index: 1;
    transform: translate(-40px, 40px) scale(0.9);
    opacity: 0.6;
}

.about-image-stack:hover .about-stack-img.main {
    transform: translate(10px, -10px);
}

.about-stack-img:not([src]),
.about-stack-img[src=""] {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

/* Personal About Section */
.about-personal-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.about-personal-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.about-personal-images {
    position: sticky;
    top: 100px;
}

.personal-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.personal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
    transition: var(--transition);
}

.personal-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.personal-img:not([src]),
.personal-img[src=""] {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-dark) 100%);
}

.about-personal-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.about-personal-content p {
    margin-bottom: 1.5rem;
}

.advice-box {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2rem 0;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow);
}

.advice-question {
    font-size: 1.05rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.advice-quote {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
    font-style: italic;
    line-height: 1.6;
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
}

.advice-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.closing-text {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-light) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
}

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

.testimonial-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
}

.testimonial-org-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-org-img {
    transform: scale(1.1);
}

.testimonial-content {
    flex: 1;
}

.testimonial-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.testimonial-org-img:not([src]),
.testimonial-org-img[src=""] {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

/* Societies Section */
.societies-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.societies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.society-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.society-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--accent-color);
}

.society-card.highlight {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border-left-color: white;
}

.society-card.highlight .society-title,
.society-card.highlight .society-description {
    color: white;
}

.society-icon {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    flex-shrink: 0;
    padding: 0.8rem 1rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    min-width: 70px;
    text-align: center;
    line-height: 1.2;
}

.society-card.highlight .society-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

.society-content {
    flex: 1;
}

.society-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.society-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-light) 100%);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.gallery-img:not([src]),
.gallery-img[src=""] {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 2rem 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 160px;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.social-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-link:hover .social-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.social-label {
    font-size: 1rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section.main {
    padding-right: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.footer-stats {
    margin-top: 2rem;
}

.footer-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.footer-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.footer-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.05rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 8px;
}

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

.footer-bottom p {
    margin: 0.8rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-iimsam {
    color: var(--accent-light) !important;
    font-weight: 600;
    font-size: 1.1rem !important;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-images-section {
        order: -1;
    }
    
    .program-featured {
        grid-template-columns: 1fr;
    }
    
    .program-featured:nth-child(even) {
        direction: ltr;
    }
    
    .about-iimsam-wrapper,
    .about-personal-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-subtitle-large {
        font-size: 1.8rem;
    }

    .hero-title-secondary {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-card.featured {
        transform: scale(1);
    }

    .testimonials-grid,
    .societies-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        min-width: 140px;
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .program-featured {
        padding: 2rem 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--accent-color);
    color: white;
}
