:root {
    --bg-color: #f8fafc; /* Crisp Ivory */
    --second-bg-color: #f1f5f9; /* Soft Slate */
    --text-color: #0f172a; /* Deep Navy text */
    --text-muted: #475569; /* Muted Slate */
    --main-color: #1e3a8a; /* Academic Navy */
    --accent-color: #d97706; /* Distinguished Gold */
    --gradient: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    --card-gradient: linear-gradient(145deg, #ffffff, #f1f5f9);
    --border-color: rgba(30, 58, 138, 0.08);
    --glass-bg: rgba(248, 250, 252, 0.9);
    
    /* New Design Tokens for Services Update */
    --new-primary: #2563eb;
    --new-secondary: #0f172a;
    --new-accent: #f43f5e;
    --new-gradient-text: linear-gradient(90deg, #2563eb, #db2777);
    --new-font-display: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 100px;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    letter-spacing: -0.01em;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
}

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

section {
    min-height: 100vh;
    padding: 15rem 9% 10rem;
    position: relative;
}

.hidden {
    opacity: 0;
    transform: translateY(3rem);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 8rem;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }
}

.section-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 9%;
    background: var(--main-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-color);
    transition: all 0.4s ease;
}

.header.sticky {
    padding: 1rem 9%;
    background: var(--main-color);
    box-shadow: 0 10px 40px rgba(6, 78, 59, 0.2);
}

.logo {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.logo .gradient-text {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

.navbar a {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
    margin-left: 4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: #ffffff;
}

#menu-icon {
    font-size: 3.6rem;
    color: #ffffff;
    display: none;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.6rem 3.5rem;
    background: var(--gradient);
    border-radius: 5rem;
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: #ffffff;
}

.btn-secondary {
    background: var(--accent-color);
    color: #ffffff;
    border: 1px solid var(--accent-color);
    box-shadow: 0 10px 20px rgba(180, 83, 9, 0.2);
    margin-left: 2rem;
}

.btn-secondary:hover {
    background: #9a4408; /* Darker Gold */
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(180, 83, 9, 0.3);
    border-color: #9a4408;
    transform: translateY(-4px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    min-height: 60vh; /* Reduced from 80vh */
    padding-top: 10rem; /* Reduced from 15rem */
    padding-bottom: 5rem; /* Reduced from 8rem */
    position: relative;
    background: linear-gradient(to right, rgba(253, 252, 247, 0.92) 20%, rgba(253, 252, 247, 0.7) 100%), 
                url('assets/hero_library_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-content {
    flex: 1;
}

.hero-content .subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: var(--main-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-content .title {
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    white-space: nowrap; /* Forces name on a single line */
}

.hero-list {
    list-style: none;
    margin-bottom: 2rem;
    max-width: 700px;
}

.hero-list li {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    font-weight: 500;
}

.hero-list li i {
    color: var(--main-color);
    font-size: 2.4rem;
    margin-top: 0.2rem;
}

.hero-content .description {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    line-height: 1.8;
}

.social-links {
    margin-top: 3rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 2.2rem;
    color: var(--text-color);
    margin-right: 1.5rem;
    transition: all 0.4s ease;
}

.social-links a:hover {
    background: var(--main-color);
    color: #ffffff;
    transform: translateY(-5px) rotate(15deg);
    box-shadow: 0 10px 20px rgba(6, 78, 59, 0.2);
    border-color: var(--main-color);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
}

.img-box {
    width: 340px;
    height: 420px;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(6, 78, 59, 0.15));
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Sophisticated blob/organic shape */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), border-radius 0.8s ease;
}

.img-box::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--accent-color);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.img-box:hover img {
    transform: scale(1.05);
    border-radius: 50%;
}

.img-box:hover::before {
    transform: translate(-10px, -10px) scale(1.05);
    opacity: 0.6;
    border-radius: 50%;
}

.glow-effect {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.1;
    z-index: 1;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.05; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(1.1); }
}

.hero-shape-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
    border-radius: 50%;
}

.hero-shape-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    filter: blur(180px);
    opacity: 0.08;
    z-index: 0;
    border-radius: 50%;
}

/* Floating Glass Card */
.floating-glass {
    position: absolute;
    bottom: 10%;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2.5rem;
    border-radius: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: float 5s ease-in-out infinite alternate;
}

.floating-glass .icon {
    width: 5rem;
    height: 5rem;
    background: var(--gradient);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
}

.floating-glass .text h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.floating-glass .text p {
    font-size: 1.3rem;
    margin: 0;
    color: var(--text-muted);
}

/* About Section */
.about {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--second-bg-color);
    padding-top: 8rem;
    padding-bottom: 2rem; /* Reduced from 6rem */
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 4rem;
}

.about-bio {
    flex: 1.2;
}

.about-bio h3 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.consultancy-subtitle {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.about-bio p {
    font-size: 1.7rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.memberships {
    background: var(--card-gradient);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
}

.memberships h4 {
    font-size: 2rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.memberships p {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.consultancy-card {
    flex: 0.8;
    background: var(--card-gradient);
    padding: 4rem;
    border-radius: 3.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.stat-number {
    display: block;
    font-size: 5rem;
    font-weight: 800;
    color: var(--main-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.card-header h4 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.card-header p {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.library-list {
    list-style: none;
    margin-bottom: 3rem;
}

.library-list li {
    font-size: 1.5rem;
    color: var(--text-color);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.library-list li::before {
    content: '•';
    color: var(--main-color);
    font-weight: bold;
}

.more-details {
    text-align: center;
}

.small-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.4rem;
}

/* Responsive About */
@media (max-width: 968px) {
    .about-content {
        flex-direction: column;
    }
}

/* Responsive About Grid */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-bottom {
        grid-column: span 1;
    }
}

.stat-bento {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
}

.stat-bento i {
    font-size: 4.5rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.stat-bento .num {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.stat-bento .text {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-bento.highlight {
    background: var(--gradient);
    border: none;
    color: #ffffff;
}

.stat-bento.highlight i, 
.stat-bento.highlight .text, 
.stat-bento.highlight .num {
    color: #ffffff;
}

.clients-bento, .memberships-bento {
    grid-column: span 2;
}

.client-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin-top: 2rem;
}

.client-pills li {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 1.2rem 2.5rem;
    border-radius: 4rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color);
    transition: 0.3s;
    cursor: default;
}

.client-pills li:hover {
    background: var(--main-color);
    color: #ffffff;
    border-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.member-tags span {
    background: var(--glass-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 1.2rem 2rem;
    border-radius: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Services & Orientation Section */
.services-section {
    padding: 3rem 10% 4rem; /* Reduced bottom padding */
    background: var(--bg-color);
}

/* --- New Services Design (User Provided) --- */
.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s ease;
}

.service-row:hover {
    border-color: var(--new-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative;
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-row.reverse .service-image {
    transform: perspective(1000px) rotateY(-5deg);
}

.service-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.service-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.service-details {
    flex: 1.2;
}

.service-title-new {
    font-family: var(--new-font-display);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    background: var(--new-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 700;
}

/* --- Numbered List Styling --- */
.modern-list-numbered {
    list-style: none;
    padding-left: 0;
    counter-reset: items;
}

.modern-list-numbered > li {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--text-color);
    line-height: 1.6;
}

.modern-list-numbered > li::before {
    counter-increment: items;
    content: counter(items);
    position: absolute;
    left: 0;
    top: -5px;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--new-gradient-text);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 3.5rem;
    font-weight: bold;
    font-family: var(--new-font-display);
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.modern-list-numbered li strong {
    color: var(--new-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Discussion Sub-list */
.discussion-subtitle {
    margin-top: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--main-color);
}

.discussion-points {
    list-style: disc;
    padding-left: 2rem;
    color: var(--text-muted);
}

.discussion-points li {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

/* Workshop Detailed List */
.workshop-detailed-list {
    list-style: none;
    padding-left: 0;
    counter-reset: workshop-items;
}

.workshop-detailed-list > li {
    position: relative;
    padding-left: 6rem;
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

.workshop-detailed-list > li:hover {
    transform: translateX(10px);
}

.workshop-detailed-list > li::before {
    counter-increment: workshop-items;
    content: counter(workshop-items);
    position: absolute;
    left: 0;
    top: 0;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--new-gradient-text);
    color: white;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--new-font-display);
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.workshop-detailed-list li strong {
    font-size: 2rem;
    color: var(--new-secondary);
    display: block;
    margin-bottom: 1rem;
    font-family: var(--new-font-display);
    font-weight: 700;
    line-height: 1.2;
}

.workshop-detailed-list li p {
    font-size: 1.55rem;
    color: #475569;
    line-height: 1.7;
    font-weight: 400;
}

@media (max-width: 768px) {
    .service-row {
        flex-direction: column !important;
        padding: 2rem;
    }
    
    .service-image {
        transform: none !important;
        width: 100%;
    }
    
    .service-image img {
        height: 250px;
    }
    
    .workshop-detailed-list > li {
        padding-left: 5.5rem;
    }
}

/* Media Queries for new Services Section */
@media (max-width: 968px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem;
    }
    
    .service-image {
        width: 100%;
        transform: none !important;
    }
    
    .service-image img {
        height: 250px;
    }
    
    .service-title-new {
        font-size: 2.2rem;
    }
}

/* Workshop Cards Redesign */
/* Workshop Grid (Bento Layout) */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 2.5rem;
    margin-top: 5rem;
}

.mosaic-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4rem;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.05);
}

.mosaic-card:hover {
    transform: translateY(-1.5rem);
    border-color: var(--accent-color);
    box-shadow: 0 40px 80px rgba(6, 78, 59, 0.1);
}

.card-glass-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(180, 83, 9, 0.05), transparent 60%);
    pointer-events: none;
    transition: 0.6s;
}

.mosaic-card:hover .card-glass-glow {
    background: radial-gradient(circle at top right, rgba(180, 83, 9, 0.15), transparent 70%);
}

.card-icon-wrapper {
    width: 8rem;
    height: 8rem;
    background: var(--bg-color);
    border-radius: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 3rem;
    box-shadow: 0 15px 30px rgba(6, 78, 59, 0.08);
    transition: 0.5s;
    border: 1px solid rgba(180, 83, 9, 0.1);
}

.mosaic-card:hover .card-icon-wrapper {
    background: var(--main-color);
    color: #fff;
    transform: rotate(10deg) scale(1.1);
}

.mosaic-card h3 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.mosaic-card p {
    font-size: 1.6rem;
    color: var(--text-color);
    line-height: 1.7;
    opacity: 0.85;
}

.card-footer {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-tag {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    opacity: 0.6;
}

.card-btn {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: 0.3s;
}

.card-btn:hover {
    gap: 1.5rem;
}

/* Mosaic Card Sizing (Desktop) */
.mosaic-card.feature {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic-card:nth-child(2),
.mosaic-card:nth-child(3),
.mosaic-card:nth-child(4),
.mosaic-card:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

.mosaic-card:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
}

/* Card Content Styling */
.card-badge {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    background: var(--main-color);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 15px rgba(13, 148, 136, 0.2);
}

.card-icon {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 2rem;
    background: #fff;
    width: 7.5rem;
    height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.5s;
}

.workshop-card:hover .card-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--main-color);
    color: #fff;
}

.workshop-card h4 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.workshop-card p {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.workshop-card.large p {
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

/* Responsive Bento */
@media (max-width: 1200px) {
    .workshop-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
}

@media (max-width: 768px) {
    .workshop-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .workshop-card.large,
    .workshop-card.medium,
    .workshop-card.small {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Workshops Section */
.workshops-section {
    padding: 12rem 9%;
    background: var(--second-bg-color);
}

.workshops-section .row-top {
    margin-bottom: 6rem;
    max-width: 80rem;
}

.workshop-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(350px, auto);
    gap: 4rem;
}

/* Video Gallery */
.gallery {
    background: var(--bg-color);
}

/* GLIMPSES OF PLANNING Section */
.gallery-section {
    padding: 4rem 9% 2rem;
    background: var(--bg-color);
    min-height: auto;
}

.gallery-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    width: 100%;
}

#gallery .section-title {
    font-size: 4rem;
    margin-bottom: 0;
}

.yt-corner-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5.5rem;
    height: 5.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid rgba(255, 0, 0, 0.2);
    color: #FF0000;
    font-size: 2.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.yt-corner-link:hover {
    background: #FF0000;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    border-color: #FF0000;
}

@media (max-width: 968px) {
    .gallery-header {
        flex-direction: column;
        gap: 2rem;
    }
    .yt-corner-link {
        position: static;
        transform: none;
    }
    .yt-corner-link:hover {
        transform: scale(1.1);
    }
}

.gallery-section .container-gallery {
    max-width: 1600px;
    margin: 0 auto;
}

.sub-link {
    font-size: 1.5rem;
    color: #FF0000;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border: 1.5px solid rgba(255, 0, 0, 0.2);
    border-radius: 5rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    float: right;
}

.sub-link:hover {
    background: #FF0000;
    color: #fff;
    border-color: #FF0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.gallery-subtitle {
    font-size: 2.4rem;
    color: var(--text-color);
    margin: 4rem 0 3rem;
    font-weight: 700;
    position: relative;
    padding-left: 2rem;
}

.gallery-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--main-color);
    border-radius: 2px;
}

.video-scroller {
    display: flex;
    overflow-x: auto;
    gap: 3rem;
    padding: 2rem 0 4rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) transparent;
}

.video-scroller::-webkit-scrollbar {
    height: 8px;
}

.video-scroller::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 10px;
}

.video-card {
    flex: 0 0 350px;
    background: var(--second-bg-color);
    border-radius: 2.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    scroll-snap-align: start;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.05);
}

.video-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(6, 78, 59, 0.1);
    border-color: var(--accent-color);
}

.thumbnail-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.video-card:hover .thumbnail-wrapper img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6rem;
    height: 6rem;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2.2rem;
    transition: 0.4s;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
    z-index: 2;
}

.play-icon i {
    margin-left: 4px;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.15);
    background: #FF0000;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.6);
}

.video-info {
    padding: 3rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.video-desc {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 968px) {
    .sub-link {
        float: none;
        display: flex;
        justify-content: center;
        margin: 2rem auto 0;
        width: max-content;
    }
    
    .video-card {
        flex: 0 0 320px;
    }
}

/* Media Coverage */
.news-section {
    background: var(--bg-color);
    padding: 2rem 9% 2rem;
    min-height: auto;
}

.news-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    width: 100%;
}

#news .section-title {
    font-size: 4rem;
    margin-bottom: 0;
}

.pdf-corner-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--bg-color);
    border: 2px solid rgba(220, 38, 38, 0.2);
    color: #dc2626;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 10;
}

.pdf-corner-link i {
    font-size: 2.4rem;
}

.pdf-corner-link:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
    border-color: #dc2626;
}

@media (max-width: 968px) {
    .news-header {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .pdf-corner-link {
        position: static;
        transform: none;
    }
    .pdf-corner-link:hover {
        transform: scale(1.05);
    }
}

.news-gallery-wrapper {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 6rem;
}

.news-scroller {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 0;
    scrollbar-width: none; /* Firefox */
}

.news-scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.news-item {
    flex: 0 0 calc(33.333% - 2rem);
    background: var(--second-bg-color);
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: .4s ease;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-10px);
    border-color: var(--main-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-caption {
    padding: 2rem;
    font-size: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.news-date {
    display: block;
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.image-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--main-color);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.image-popup-btn:hover {
    background: var(--accent-color);
}

/* Nav Buttons */
.news-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--second-bg-color);
    border: 1px solid var(--border-color);
    color: var(--main-color);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s;
    z-index: 10;
}

.news-nav-btn:hover {
    background: var(--main-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.news-nav-btn.prev {
    left: 0;
}

.news-nav-btn.next {
    right: 0;
}

@media (max-width: 991px) {
    .news-item {
        flex: 0 0 calc(50% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .news-item {
        flex: 0 0 100%;
    }
}

/* Testimonials */
.testimonials {
    background: var(--bg-color);
}

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

.testimonial-card {
    background: var(--card-gradient);
    padding: 4rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: .4s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--main-color);
}

.quote-icon {
    font-size: 4rem;
    color: var(--main-color);
    opacity: 0.2;
    position: absolute;
    top: 2rem;
    right: 3rem;
}

.testimonial-card p {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

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

.client-info img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.client-info h4 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.client-info span {
    font-size: 1.3rem;
    color: var(--text-muted);
}


/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: var(--bg-color);
    overflow: hidden;
}

.testimonials .section-title {
    padding: 0 9%;
    margin-bottom: 1rem;
}

.testimonials .section-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonials-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.testimonial-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding: 2rem;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.5rem)); }
}

.testimonial-card {
    background: var(--card-gradient);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 3rem;
    padding: 4rem;
    width: 500px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 15px 35px rgba(6, 78, 59, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(6, 78, 59, 0.1);
    border-color: var(--accent-color);
}

.test-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.test-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    padding: 3px;
    background: var(--second-bg-color);
}

.test-meta h4 {
    font-size: 1.8rem;
    color: var(--main-color);
}

.test-meta p {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.quote-icon {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 4rem;
    opacity: 0.1;
    color: var(--main-color);
}

.test-content {
    flex-grow: 1;
}

.test-text {
    font-size: 1.4rem;
    color: var(--text-color);
    font-style: italic;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.read-more-btn {
    background: transparent;
    color: var(--main-color);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s;
    width: fit-content;
}

.read-more-btn:hover {
    color: var(--accent-color);
    gap: 1.5rem;
}

.test-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.test-youtube-link {
    font-size: 3.2rem;
    color: #ff0000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.test-youtube-link:hover {
    transform: scale(1.15) rotate(5deg);
    color: #ff4444;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent-color), transparent 70%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
    z-index: -1;
}

.testimonial-card:hover .card-glow {
    opacity: 0.1;
}


/* Full Size Footer */
.footer {
    padding: 8rem 9% 3rem;
    background: var(--main-color); /* Matching Header Color */
    display: flex;
    flex-direction: column;
    gap: 6rem;
    text-align: left;
    position: relative;
    border-top: 2px solid var(--accent-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.6fr;
    gap: 6rem;
    width: 100%;
    max-width: none; /* Making it Full Width */
}

.footer-box h3 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.footer-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 3px;
    background: var(--accent-color);
}

.footer-box p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-box.info .logo {
    display: inline-block;
    margin-bottom: 2rem;
}

.footer-box.info .social-links {
    margin-top: 2.5rem;
}

.footer-info p {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.85) !important;
    font-style: normal !important;
}

.footer-info i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-top: 0.3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.5rem;
    transition: 0.3s;
    font-weight: 500;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    text-align: center;
}

.footer-iconTop {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.footer-bottom p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: normal !important;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: .8rem;
    transition: .5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-iconTop a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: #ffffff;
}

@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .footer {
        padding: 6rem 5% 3rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

.footer-iconTop a:hover i {
    color: var(--main-color);
}

/* Responsive */
@media (max-width: 991px) {
    .header { padding: 2rem 3%; }
    section { padding: 10rem 3% 2rem; }
    .hero { flex-direction: column; text-align: center; }
    .hero-content .title { font-size: 4.5rem; white-space: normal; }
    .btn-secondary { margin-left: 0; margin-top: 1.5rem; }
    .btn-group { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
    .social-links { justify-content: center; }
    .about-wrapper { grid-template-columns: 1fr; gap: 4rem; }
    .bio-card { padding: 3rem; }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
    .orientation-content { flex-direction: column; }
    .orientation-img { order: 1; margin-top: 3rem; }
    .orientation-text { order: 2; }

    .feature-image { flex: 0 0 100%; max-width: 100%; }
    .stats { justify-content: center; flex-wrap: wrap; }
    .footer { padding: 2rem 3%; }
}

@media (max-width: 768px) {
    #menu-icon { display: block; }
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--main-color);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 .5rem 1rem rgba(249, 115, 22, 0.2);
        display: none;
    }
    .navbar.active { display: block; }
    .navbar a { display: block; font-size: 2rem; margin: 3rem 0; text-align: center; }
    .contact form .input-box input { width: 100%; }
}

/* Scroll Reveal Classes */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MODERN LIBRARY & ACCREDITATION (NAAC)
   ========================================================================== */
#naac-modern-section {
    background: var(--bg-color);
    padding: 2rem 9% 2rem; /* Reduced top and bottom padding to close gaps */
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

#naac-modern-section .section-title {
    font-size: 4rem; /* Reduced from 6rem for better fit */
}

@media (max-width: 768px) {
    #naac-modern-section .section-title {
        font-size: 2.8rem;
    }
}

#naac-modern-section .naac-modern-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    flex-direction: column !important;
    gap: 4rem;
    width: 100%;
}

#naac-modern-section .naac-header-box {
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

#naac-modern-section .naac-header-box p {
    font-size: 1.8rem; /* Reduced for scholarly feel */
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 500;
    margin-top: 2rem;
}

#naac-modern-section .naac-gallery-hub {
    display: flex !important;
    flex-direction: row !important;
    gap: 2.5rem;
    justify-content: center;
    width: 100%;
}

#naac-modern-section .naac-gallery-item {
    flex: 1;
    max-width: 480px;
    height: 320px;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#naac-modern-section .naac-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

#naac-modern-section .naac-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

#naac-modern-section .naac-gallery-item:hover img {
    transform: scale(1.08);
}

#naac-modern-section .naac-webinar-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem;
    width: 100%;
}

#naac-modern-section .webinar-card {
    background: rgba(253, 252, 247, 0.8);
    backdrop-filter: blur(15px);
    padding: 3rem 2.5rem;
    border-radius: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    text-decoration: none;
    transition: all 0.4s ease;
    height: 100%;
}

#naac-modern-section .webinar-card:hover {
    background: #ffffff;
    border-color: #ff0000; /* YouTube brand color */
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.05);
}

#naac-modern-section .webinar-card h4 {
    font-size: 2rem;
    color: var(--main-color);
    font-weight: 700;
}

#naac-modern-section .webinar-brand {
    font-size: 4.5rem;
    color: #ff0000;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
}

#naac-modern-section .webinar-card:hover .webinar-brand {
    transform: scale(1.15) rotate(5deg);
}

#naac-modern-section .webinar-card p {
    font-size: 1.4rem;
    color: var(--text-muted);
    line-height: 1.6;
}

#naac-modern-section .webinar-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 2.5rem;
    background: rgba(6, 78, 59, 0.05);
    border-radius: 5rem;
    transition: 0.3s;
}

#naac-modern-section .webinar-card:hover .webinar-btn {
    background: #ff0000;
    color: #ffffff;
}

@media (max-width: 991px) {
    #naac-modern-section .naac-webinar-grid {
        grid-template-columns: 1fr !important;
    }
    #naac-modern-section .naac-gallery-hub {
        flex-direction: column !important;
        align-items: center;
    }
    #naac-modern-section .naac-gallery-item {
        max-width: 100%;
        height: 250px;
    }
}

/* ==========================================================================
   DIFFERENT VIEWS ON LIBRARY PLANNING
   ========================================================================== */
.categories-section {
    background: var(--bg-color);
    padding: 8rem 9%;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.categories-section .section-title {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 4rem; /* Reduced from 6rem for better fit */
}

@media (max-width: 768px) {
    .categories-section .section-title {
        font-size: 2.8rem;
    }
}

/* Interactive Hero Slider for Novelty Gallery */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background: var(--bg-color);
    margin-top: 10rem; /* offset sticky header */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.slide-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-size: 5rem;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 4rem;
    z-index: 10;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.nav-btn i {
    font-size: 3rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.nav-btn:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    z-index: 10;
}

.dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--main-color);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 50vh;
    }
    .slide-title {
        font-size: 3rem;
    }
    .slider-controls {
        padding: 0 1rem;
    }
    .nav-btn {
        width: 4.5rem; height: 4.5rem;
    }
}

.categories-section {
    padding: 3rem 9% 8rem;
}

.categories-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    background: rgba(253, 252, 247, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    background: #ffffff;
    border-color: var(--main-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.category-icon-wrapper {
    width: 100%;
    height: 15rem; /* Large icon area */
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.category-card:hover .category-icon-wrapper img {
    transform: scale(1.12);
}

.category-title {
    font-size: 1.8rem;
    color: var(--main-color);
    font-weight: 700;
    line-height: 1.3;
}

.category-arrow {
    font-size: 2rem;
    color: var(--main-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    margin-top: auto;
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive adjustments for 5-column grid */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .category-icon-wrapper {
        height: 12rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr !important;
    }
    .categories-section {
        padding: 5rem 5%;
    }
}

/* ==========================================================================
   Contact Page Redesign (Elegant Light Theme)
   ========================================================================== */
.contact-hero {
    min-height: 100vh;
    padding: 20rem 9% 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--main-color) 0%, transparent 60%);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    /* Information on left, Image on right */
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    align-items: center;
}

/* Elegant Text Section */
.contact-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-subtitle {
    font-size: 1.6rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-title {
    font-size: clamp(2.8rem, 3.5vw, 4.2rem);
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4rem;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-bottom: 4.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    transition: transform 0.4s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 6rem;
    height: 6rem;
    min-width: 6rem;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--main-color);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.contact-item:hover .contact-icon {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.2);
}

.contact-text h4 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-text p, .contact-text a {
    font-size: 1.6rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--main-color);
}

.contact-form-wrapper {
    margin-top: 1rem;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem 4rem;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
}

.btn-contact i {
    font-size: 2.2rem;
    transition: transform 0.4s ease;
}

.btn-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
    color: white;
}

.btn-contact:hover i {
    transform: translateX(8px);
}

/* Elegant Portrait Shape */
.contact-image-wrapper {
    position: relative;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: float 8s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image-wrapper img {
    width: 90%;
    height: auto;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    object-fit: cover;
    z-index: 2;
    position: relative;
    box-shadow: 0 30px 60px rgba(30, 58, 138, 0.15);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), border-radius 0.8s ease;
}

.contact-image-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: 5px;
    bottom: 5px;
    border: 3px solid var(--accent-color);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.contact-image-wrapper:hover img {
    transform: scale(1.03);
    border-radius: 50%;
}

.contact-image-wrapper:hover::before {
    transform: translate(-15px, -15px) scale(1.05);
    opacity: 0.8;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.2);
}

/* Responsive adjustments for light theme contact page */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    
    /* On mobile, bring image back to top */
    .contact-image-wrapper {
        grid-row: 1;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .contact-info-container {
        grid-row: 2;
        text-align: center;
        align-items: center;
    }
    
    .contact-item {
        align-items: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 3.2rem;
        white-space: normal; /* allow wrapping on extreme small screens if needed */
        letter-spacing: -1px;
    }
    
    .contact-icon {
        width: 5rem;
        height: 5rem;
        min-width: 5rem;
        font-size: 2.2rem;
    }
    
    .contact-item {
        gap: 1.5rem;
    }
    
    .btn-contact {
        padding: 1.8rem 3rem;
        width: 100%;
        justify-content: center;
    }
}
