* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Mobile Header - Hidden on desktop */
.mobile-header {
    display: none;
    background: #06636c;
    padding: 15px 20px;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
}

.mobile-name-header {
    color: #ffe066;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.mobile-hamburger {
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Social Bar - Hidden on desktop */
.mobile-social-bar {
    display: none;
    background: #ffe066;
    padding: 12px 0;
    justify-content: center;
    gap: 0;
}

.mobile-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    color: #222;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    flex: 1;
}

.mobile-social-icon:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #06636c;
}

/* Left Section Styling - Desktop */
.left-section {
    width: 50%;
    /* background: #06636c; */
    background: #04484f;
    color: white;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.name-header {
    color: #ffe066;
    font-size: 32px;
    font-weight: 500;
    /* margin-bottom: 40px; */
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: color 0.3s ease;
    opacity: 0.85;
}

.main-nav a:hover {
    color: #ffe066;
    opacity: 1;
}

.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -50px;
    margin-left: 50px;
    /* added by gir */
}

.greeting {
    color: #ffe066;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.main-name {
    font-size: 92px;
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 30px;
    color: white;
    letter-spacing: -2px;
}

.profession {
    font-size: 19px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.5px;
}

/* Right Section Styling */
.right-section {
    width: 50%;
    background-color: #e4e4e4;
    position: relative;
    overflow: hidden;
}

.profile-image-container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Desktop Social Media Icons - Vertical */
.social-icons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background-color: #f1c40f;
    border-radius: 6px 0 0 6px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #222;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #fff3bf;
    color: #06636c;
}

/* MOBILE RESPONSIVE - Exactly like the image */
@media (max-width: 768px) {
    body {
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    /* Show mobile header */
    .mobile-header {
        display: flex;
    }

    /* Show mobile social bar */
    .mobile-social-bar {
        display: flex;
    }

    /* Hide desktop elements */
    .name-header {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .social-icons {
        display: none;
    }

    /* Mobile Left Section */
    .left-section {
        width: 100%;
        background: #06636c;
        padding: 40px 20px 60px 20px;
        min-height: auto;
        justify-content: center;
    }

    .hero-content {
        text-align: left;
        margin-top: 0;
    }

    .greeting {
        color: #ffe066;
        font-size: 32px;
        font-weight: 400;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }

    .main-name {
        font-size: 48px;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 20px;
        color: white;
        letter-spacing: -1px;
    }

    .profession {
        font-size: 16px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: 0.3px;
    }

    /* Mobile Right Section */
    .right-section {
        width: 100%;
        height: 60vh;
        min-height: 400px;
        background-color: #e4e4e4;
    }

    .profile-image-container {
        height: 100%;
    }

    .profile-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .mobile-name-header {
        font-size: 18px;
    }

    .greeting {
        font-size: 28px;
    }

    .main-name {
        font-size: 42px;
    }

    .profession {
        font-size: 15px;
    }

    .left-section {
        padding: 30px 15px 50px 15px;
    }

    .mobile-social-icon {
        width: 50px;
        font-size: 16px;
    }
}




/* ===== BIO DETAILS IN HERO CONTENT ===== */
.hero-content.bio-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -50px;
    margin-left: 50px;
    gap: 18px;
    overflow-y: auto;
    max-height: 70vh;
    padding-right: 15px;
}

.hero-content.bio-details::-webkit-scrollbar {
    width: 5px;
}

.hero-content.bio-details::-webkit-scrollbar-thumb {
    background: #ffe066;
    border-radius: 3px;
}

.bio-quick-intro {
    margin-bottom: 5px;
}

.bio-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 5px 0;
    line-height: 1.1;
}

.bio-designation {
    font-size: 0.95rem;
    color: #ffe066;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.bio-brief-description {
    background: rgba(255, 224, 102, 0.15);
    padding: 14px;
    border-radius: 8px;
    border-left: 3px solid #ffe066;
}

.bio-brief-description p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

.bio-quick-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bio-section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffe066;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.bio-quick-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bio-quick-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.3;
}

.bio-quick-list li strong {
    color: #ffe066;
    font-weight: 600;
}

.bio-quick-list.compact li {
    font-size: 0.82rem;
}

.bio-quick-skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.skill-dot {
    background: rgba(255, 224, 102, 0.2);
    color: #ffe066;
    /* padding: 6px 10px; */
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 224, 102, 0.4);
    text-align: center;
}

.bio-rotary-brief {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .bio-quick-intro {
        margin-top: 56px;
        /* adjust value so heading appears below social icons */
    }

    .hero-content.bio-details {
        max-height: none;
        gap: 14px;
    }

    .bio-main-title {
        font-size: 1.8rem;
    }

    .bio-quick-skills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
        /* row and column gap for better spacing */
    }
}

@media (max-width: 480px) {
    .hero-content.bio-details {
        gap: 12px;
    }

    .bio-main-title {
        font-size: 1.4rem;
    }

    .bio-brief-description {
        padding: 12px;
    }

    .bio-brief-description p {
        font-size: 0.85rem;
    }

    .bio-section-label {
        font-size: 0.8rem;
    }

    .bio-quick-list li {
        font-size: 0.8rem;
    }

    .skill-dot {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .bio-rotary-brief {
        font-size: 0.8rem;
    }
}



/* ===== FAMILY PHOTO BUTTON ===== */
.family-photo-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, #ffe066, #ffcc00);
    color: #0a4d4d;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 224, 102, 0.3);
}

.family-photo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 224, 102, 0.5);
    background: linear-gradient(135deg, #ffcc00, #ffe066);
}

.family-photo-btn:active {
    transform: translateY(0);
}

.family-photo-btn svg {
    width: 16px;
    height: 16px;
}

/* ===== FAMILY PHOTO MODAL ===== */
.family-photo-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.family-photo-modal.active {
    display: flex;
    /* Show only when active class is added */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.family-photo-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.family-photo-modal.active .family-photo-container {
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.family-photo-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ffe066;
    color: #0a4d4d;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    line-height: 1;
}

.family-photo-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: #ffcc00;
}

.family-photo-frame {
    background: linear-gradient(145deg, #1a5f5f, #0a4d4d);
    padding: 20px;
    border-radius: 15px;
    box-shadow:
        0 0 0 8px rgba(255, 224, 102, 0.2),
        0 0 0 12px rgba(255, 224, 102, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
}

.family-photo-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ffe066, #ffcc00, #ffe066);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.6;
}

.family-photo-img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.family-photo-caption {
    text-align: center;
    color: #ffe066;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 224, 102, 0.3);
    letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .family-photo-container {
        max-width: 95%;
        max-height: 85vh;
    }

    .family-photo-frame {
        padding: 15px;
    }

    .family-photo-img {
        max-height: 60vh;
    }

    .family-photo-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
        top: -10px;
        right: -10px;
    }

    .family-photo-caption {
        font-size: 1rem;
        margin-top: 12px;
        padding-top: 12px;
    }
}

@media (max-width: 480px) {
    .family-photo-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .family-photo-container {
        max-width: 98%;
        max-height: 80vh;
    }

    .family-photo-frame {
        padding: 12px;
    }

    .family-photo-img {
        max-height: 55vh;
    }

    .family-photo-caption {
        font-size: 0.9rem;
        margin-top: 10px;
        padding-top: 10px;
    }
}


/* ========== BUSINESSES SECTION STYLES - TOP RIGHT EXPAND BUTTON ========== */

.left-section {
    flex: 1;
    padding: 38px 28px 34px 40px;
    background: #04484f;
    color: #ffffff;
    box-sizing: border-box;
    overflow-y: auto;
}

.business-details {
    margin-top: 0;
    padding-top: 0;
}

.business-intro {
    margin-bottom: 22px;
    margin-top: 0;
    text-align: left;
}

.business-main-title {
    margin: 0 0 5px 0;
    font-size: 29px;
    /* slightly increased for emphasis */
    font-weight: 800;
    color: #ffe066;
    letter-spacing: 1px;
    line-height: 1.1;
}

.business-tagline {
    margin: 0 0 6px 0;
    font-weight: 500;
    color: #e0f4f5;
    font-size: 15px;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 26px 16px;
    justify-items: start;
    align-items: start;
    margin-top: 0;
}

.business-card {
    background: rgba(255, 255, 255, 0.14);
    /* more contrast */
    border-radius: 17px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    /* Large desktop card height */
    width: 110px;
    /* Large desktop card width */
    transition: box-shadow 0.18s cubic-bezier(.44, .14, .50, .94),
        transform 0.18s cubic-bezier(.44, .14, .50, .94),
        border-color 0.18s;
    border: 2px solid transparent;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.business-card:hover {
    box-shadow: 0 10px 28px rgba(255, 224, 102, 0.19);
    transform: translateY(-4px) scale(1.11);
    border-color: #ffe066;
    background: rgba(255, 224, 102, 0.22);
}

.business-logo {
    width: 78px;
    /* Increased for clarity */
    height: 78px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.09);
    transition: transform 0.16s;
    margin: 0;
}

.business-card:hover .business-logo {
    transform: scale(1.15) rotate(-5deg);
}

/* Responsive adjustments */
@media (max-width:1200px) {
    .business-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .business-card {
        width: 100px;
        height: 100px;
    }

    .business-logo {
        width: 65px;
        height: 65px;
    }
}

@media (max-width:900px) {
    .business-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .left-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .business-card {
        width: 85px;
        height: 85px;
    }

    .business-logo {
        width: 54px;
        height: 54px;
    }
}

@media (max-width:650px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .business-card {
        width: 70px;
        height: 70px;
    }

    .business-logo {
        width: 36px;
        height: 36px;
    }
}

/* @media (max-width:480px) {
    .business-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px 10px;
        justify-items: center;
    }

    .business-card {
        width: 68px;
        height: 68px;
    }

    .business-logo {
        width: 32px;
        height: 32px;
    }

    .business-main-title {
        font-size: 17px;
    }

    .left-section {
        padding-top: 16px;
        padding-right: 6px;
        padding-left: 6px;
    }
} */

@media (max-width:480px) {
    .business-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px 2px;
        /* justify-items: center; */
    }

    .business-card {
        width: 38px;
        height: 38px;
        padding: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.11);
        background: rgba(255, 255, 255, 0.17);
    }

    .business-logo {
        width: 34px;
        height: 34px;
        object-fit: contain;
        border-radius: 5px;
        background: #fff;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
    }

    .business-main-title {
        font-size: 13px;
    }

    .left-section {
        padding: 8px 2px 8px 2px;
    }
}

/* modal */
.business-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 24, 33, 0.90);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
}

.business-modal.active {
    display: flex;
    animation: fadeInModal 0.32s cubic-bezier(.40, .1, .62, 1);
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.business-modal-content {
    background: #04484f;
    border-radius: 22px;
    padding: 32px 28px 24px 28px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
    text-align: center;
    max-width: 370px;
    width: 95vw;
    position: relative;
    animation: modalPop .36s;
}

@keyframes modalPop {
    from {
        transform: translateY(20px) scale(0.94);
    }

    to {
        transform: translateY(0) scale(1);
    }
}

.business-modal-logo img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
    margin-bottom: 20px;
    border: 3px solid #ffe066;
    transition: box-shadow 0.18s;
}

.business-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffe066;
    margin-bottom: 10px;
    margin-top: 0;
    letter-spacing: 0.5px;
}

.business-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    margin-top: 7px;
    align-items: center;
    font-size: 16px;
    color: #ffe066;
    font-weight: 500;
}

.business-modal-md {
    color: #ffe066;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.business-modal-place {
    color: #bce2e4;
    font-size: 15px;
    letter-spacing: 0.2px;
    font-style: italic;
}

.business-modal-estd {
    color: #ffe066;
    font-size: 14px;
    background: #022e33;
    padding: 2px 12px;
    border-radius: 14px;
    box-shadow: 0 1px 7px rgba(255, 224, 102, 0.11);
    margin-top: 2px;
    font-weight: 600;
    letter-spacing: 1px;
}

.business-modal-description {
    font-size: 15.5px;
    color: #e0f4f5;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 400;
}

.business-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 30px;
    color: #ffe066;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    transition: color 0.14s, transform 0.2s;
    padding: 2px;
}

.business-modal-close:hover,
.business-modal-close:active {
    color: #fff;
    transform: rotate(90deg) scale(1.07);
    background: rgba(255, 224, 102, 0.1);
    border-radius: 50%;
}

/* Mobile adjustments */
@media (max-width:480px) {
    .business-modal-content {
        max-width: 97vw;
        padding: 22px 7px 15px 7px;
    }

    .business-modal-logo img {
        width: 55px;
        height: 55px;
    }

    .business-modal-title {
        font-size: 14.5px;
        margin-bottom: 6px;
    }

    .business-modal-meta {
        font-size: 12.5px;
        gap: 3px;
        margin-bottom: 7px;
    }

    .business-modal-md {
        font-size: 12.5px;
    }

    .business-modal-place,
    .business-modal-estd {
        font-size: 12.5px;
    }

    .business-modal-description {
        font-size: 12.4px;
        margin-top: 5px;
    }

    .business-modal-close {
        font-size: 23px;
        top: 10px;
        right: 10px;
    }
}





/* ========== ROTARY JOURNEY SECTION STYLES ========== */

.rotary-intro {
    margin-bottom: 20px;
}

.rotary-main-title {
    font-size: 25px;
    color: #ffe066;
    font-weight: 800;
}

.rotary-tagline {
    margin: 0 0 10px 0;
    color: #e0f4f5;
    font-size: 14px;
}

.rotary-year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 22px;
    padding: 18px 0;
    justify-items: center;
}

.rotary-year-card {
    width: 116px;
    height: 116px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: box-shadow 0.15s, border-color 0.15s, transform 0.10s;
    border: 2.5px solid transparent;
    user-select: none;
    position: relative;
}

.rotary-year-card:hover,
.rotary-year-card:focus {
    border-color: #ffe066;
    box-shadow:
        0 0 0 5.5px #ffe06633,
        0 11px 34px rgba(255, 224, 102, 0.22),
        0 2px 10px rgba(0, 0, 0, 0.10);
    transform: scale(1.045);
    outline: none;
}

.rotary-year-label {
    font-size: 23px;
    font-weight: 900;
    color: #ffe066;
    letter-spacing: 0.4px;
    line-height: 1.1;
    margin-bottom: 0;
    text-align: center;
    pointer-events: none;
}

/* Modal styling */
.rotary-modal {
    display: none;
    position: fixed;
    z-index: 1111;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 24, 33, 0.93);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
}

.rotary-modal.active {
    display: flex;
    animation: fadeInModal 0.37s cubic-bezier(.40, .1, .62, 1);
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.rotary-modal-content {
    background: #04484f;
    border-radius: 22px;
    padding: 32px 28px 18px 28px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.21);
    text-align: left;
    max-width: 430px;
    width: 97vw;
    position: relative;
    animation: modalPop .36s;
}

@keyframes modalPop {
    from {
        transform: translateY(20px) scale(0.96);
    }

    to {
        transform: translateY(0) scale(1);
    }
}

.rotary-year-modal {
    font-size: 21px;
    color: #ffe066;
    font-weight: 800;
    margin-bottom: 4px;
}

.rotary-post-modal {
    font-size: 19px;
    color: #ffd600;
    font-weight: 700;
    margin-bottom: 11px;
}

.rotary-brief-modal {
    font-size: 14px;
    color: #bce2e4;
    font-style: italic;
    margin-bottom: 16px;
}

.rotary-full-details {
    font-size: 15.5px;
    color: #e0f4f5;
    line-height: 1.52;
}

.rotary-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 27px;
    color: #ffe066;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    transition: color 0.13s, transform 0.16s;
    padding: 3px;
}

.rotary-modal-close:hover,
.rotary-modal-close:active {
    color: #fff;
    transform: rotate(90deg) scale(1.07);
    background: rgba(255, 224, 102, 0.11);
    border-radius: 50%;
}

@media (max-width: 1100px) {
    .rotary-year-card {
        width: 84px;
        height: 84px;
        border-radius: 15px;
    }

    .rotary-year-label {
        font-size: 16px;
    }
}

@media (max-width:700px) {
    .rotary-year-grid {
        gap: 10px 5px;
    }

    .rotary-year-card {
        width: 54px;
        height: 54px;
        border-radius: 8px;
    }

    .rotary-year-label {
        font-size: 9px;
    }
}

/* MOST IMPORTANT: always 4 columns even on mobile */
@media (max-width:600px) {
    .rotary-year-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* ========== CONTACT SECTION STYLES ========== */

.contact-intro {
    margin-bottom: 34px;
}

.contact-main-title {
    font-size: 28px;
    color: #ffe066;
    font-weight: 800;
    margin-bottom: 9px;
    letter-spacing: 1px;
}

.contact-subtitle {
    color: #e0f4f5;
    font-size: 15.4px;
    margin-bottom: 0;
    line-height: 1.7;
    font-weight: 400;
}

.contact-min-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 32px 34px 32px 26px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 19px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.09);
    margin-top: 26px;
    max-width: 600px;
    /* increase max-width for large screens */
    white-space: nowrap;
    /* prevent email from wrapping */
    overflow: auto;
}

.contact-min-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffe066;
    color: #04484f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    box-shadow: 0 1px 8px rgba(255, 224, 102, 0.13);
    flex-shrink: 0;
}

.contact-min-link {
    color: #ffe066;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    padding-top: 2px;
    word-break: break-all;
    transition: color 0.18s;
    white-space: nowrap;
    /* ensure email never breaks into two lines */
}

.contact-min-link:hover,
.contact-min-link:focus {
    color: #fff;
    text-decoration: underline;
}

@media (max-width:600px) {
    .contact-intro {
        margin-bottom: 19px;
    }

    .contact-main-title {
        font-size: 18px;
    }

    .contact-subtitle {
        font-size: 11.3px;
    }

    .contact-min-card {
        padding: 13px 8px 13px 8px;
        border-radius: 10px;
        max-width: 100%;
        gap: 13px;
    }

    .contact-min-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .contact-min-link {
        font-size: 11.9px;
    }
}



/* ========== FOOTER SECTION STYLES ========== */

.footer-section {
    background: linear-gradient(135deg, #04484f 0%, #066973 100%);
    padding: 40px 0 30px 0;
    position: relative;
    /* margin-top: 50px; */
    /* added by gir */
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="footer-bg" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,224,102,0.1)"/><stop offset="100%" stop-color="rgba(255,224,102,0)"/></radialGradient></defs><circle cx="30" cy="15" r="6" fill="url(%23footer-bg)"/></svg>') repeat;
    opacity: 0.6;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-divider {
    color: #ffe066;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0.7;
}

.footer-credit {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.developer-link {
    color: #ffe066;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 8px;
    border-radius: 15px;
}

.developer-link:hover {
    color: #04484f;
    background: #ffe066;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 224, 102, 0.3);
}

.developer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 8px;
    right: 8px;
    height: 1px;
    background: #ffe066;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.developer-link:hover::before {
    transform: scaleX(1);
}

/* Footer Decoration */
.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffe066, transparent);
    border-radius: 1px;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: #ffe066;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 224, 102, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Current Year Highlight */
#currentYear {
    color: #ffe066;
    font-weight: 600;
    font-size: 1.05rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-section {
        padding: 35px 0 25px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-copyright,
    .footer-credit {
        font-size: 0.95rem;
    }

    .footer-divider {
        display: none;
    }

    .footer-credit {
        flex-direction: column;
        gap: 5px;
    }

    .decoration-line {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }

    .footer-copyright,
    .footer-credit {
        font-size: 0.9rem;
    }

    .developer-link {
        padding: 3px 10px;
    }

    .decoration-line {
        width: 40px;
    }

    .decoration-dot {
        width: 6px;
        height: 6px;
    }
}



/* ========== BACK TO TOP BUTTON STYLES ========== */

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #04484f, #066973);
    color: #ffe066;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(4, 72, 79, 0.4);
    transition: all 0.3s ease;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    border: 2px solid rgba(255, 224, 102, 0.3);
}

.back-to-top-btn.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    align-items: center;
    justify-content: center;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #ffe066, #ffd700);
    color: #04484f;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 224, 102, 0.5);
    border-color: #04484f;
}

.back-to-top-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(4, 72, 79, 0.6);
}

.back-to-top-btn i {
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    20%,
    60%,
    100% {
        transform: translateY(-2px);
    }

    40% {
        transform: translateY(-6px);
    }

    80% {
        transform: translateY(-4px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .back-to-top-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}




/* name header abhishesk verma link href */
.name-link {
    color: #ffe066 !important;
    /* Always your yellow */
    text-decoration: none !important;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.name-link:hover,
.name-link:focus,
.name-link:active,
.name-link:visited {
    color: #ffe066 !important;
    /* Always yellow, no underline */
    text-decoration: none !important;
}

/* --- Instagram Reel Modal: Compact, Always Visible Close Button --- */
.reel-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 72, 79, 0.96);
    align-items: center;
    justify-content: center;
    transition: opacity .16s;
}

.reel-modal.active {
    display: flex;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reel-modal-content {
    position: relative;
    background: #04484f;
    border-radius: 10px;
    max-width: 260px;
    width: 96vw;
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 2px 16px #022b3160;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

#reelModalPlayer {
    width: 100%;
    max-width: 230px;
    min-width: 90px;
    margin: 38px auto 0;
    /* Room for close button above */
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.reel-modal-close {
    position: absolute;
    top: 8px;
    /* Touch-friendly space */
    right: 8px;
    font-size: 26px;
    color: #ffe066;
    background: #04484f;
    border: 2px solid #ffe066;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px #022b3160;
    cursor: pointer;
    z-index: 10;
    transition: color 0.13s, background 0.13s, border 0.13s;
}

.reel-modal-close:hover,
.reel-modal-close:focus {
    background: #ffe066;
    color: #04484f;
    border: 2px solid #04484f;
    outline: none;
}

/* Instagram embed in modal (compact preview only) */
.reel-modal-content blockquote.instagram-media {
    width: 100% !important;
    max-width: 200px !important;
    margin: 0 auto !important;
    border-radius: 6px !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px #022b3140;
}

.reel-modal-content blockquote.instagram-media img,
.reel-modal-content blockquote.instagram-media video {
    max-width: 98% !important;
    border-radius: 4px !important;
    margin: 0 auto !important;
    display: block !important;
}

.reel-modal-content blockquote.instagram-media footer,
.reel-modal-content blockquote.instagram-media .EmbedFooter,
.reel-modal-content blockquote.instagram-media .EmbedCaption,
.reel-modal-content blockquote.instagram-media div:has([role="presentation"]) {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    visibility: hidden !important;
}

@media (max-width: 500px) {
    .reel-modal-content {
        max-width: 99vw;
        border-radius: 7px;
    }

    #reelModalPlayer {
        max-width: 96vw;
        margin-top: 28px;
        min-height: 40px;
    }

    .reel-modal-close {
        top: 4px;
        right: 4px;
        font-size: 18px;
        width: 21px;
        height: 21px;
    }
}

body.reel-modal-active {
    overflow: hidden !important;
}
/* Match business headline yellow and boldness */
.reels-heading,
.poetry-main-title {
    color: #ffe066;                  /* main yellow */
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 8px 0;
    line-height: 1.1;
}

.reels-subtitle,
.poetry-tagline {
    color: #e0f4f5;                /* light cyan (as subtitle in business) */
    font-size: 1.05rem;
    margin-bottom: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
}