* {
    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 Section Styles - Matching Site Theme */
.bio-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    min-height: 100vh;
    position: relative;
}

.bio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bio Header */
.bio-header {
    text-align: center;
    margin-bottom: 60px;
}

.bio-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #04484f;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.bio-title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #04484f, #ffe066);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.bio-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Bio Content Layout */
.bio-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

/* Left Side - Profile */
.bio-left {
    position: sticky;
    top: 20px;
}

.bio-profile-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.bio-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #04484f, #ffe066);
    border-radius: 20px;
    z-index: -1;
    margin: -3px;
}

.bio-profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffe066;
}

.profile-bio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.4s ease;
}

.bio-profile-image:hover .profile-bio-img {
    transform: scale(1.1);
}

.profile-overlay {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.profile-badge {
    background: #04484f;
    color: #ffe066;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(4, 72, 79, 0.3);
    border: 2px solid #ffe066;
    white-space: nowrap;
}

.profile-badge i {
    font-size: 0.9rem;
}

.bio-profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #04484f;
    margin-bottom: 8px;
}

.bio-profile-designation {
    color: #666;
    font-size: 1rem;
    margin-bottom: 10px;
}

.charter-info {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #04484f;
    border-left: 3px solid #ffe066;
}

/* Bio Stats */
.bio-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #04484f, #066973);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffe066;
    font-size: 1.2rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #04484f;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Right Side - Details */
.bio-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bio-description {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #ffe066;
}

.desc-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #04484f;
    margin-bottom: 15px;
}

.desc-text {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #04484f;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ffe066;
    border-radius: 2px;
}

/* Education */
.bio-education {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.education-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edu-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #04484f;
    transition: all 0.3s ease;
}

.edu-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.edu-degree {
    font-weight: 600;
    color: #04484f;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.edu-specialization {
    color: #ffe066;
    background: #04484f;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.edu-institution {
    color: #666;
    font-size: 0.95rem;
}

/* Skills */
.bio-skills {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #04484f;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag:hover {
    background: #ffe066;
    border-color: #04484f;
    transform: translateY(-2px);
}

/* Family Section */
.bio-family-section {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.family-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #04484f;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.family-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #04484f, #ffe066);
    border-radius: 2px;
}

.family-members {
    margin-bottom: 50px;
}

.family-member {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 5px solid #ffe066;
}

.member-role {
    font-size: 0.85rem;
    color: #04484f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #04484f;
    margin-bottom: 5px;
}

.member-qualification {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.children-header {
    color: #04484f;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffe066;
}

.child-member {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #04484f;
}

.child-name {
    font-weight: 600;
    color: #04484f;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.child-details {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Family Photo - FIXED HEAD CUTTING ISSUE */
.family-photo-section {
    margin-top: 40px;
}

.family-photo-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    /* Set proper aspect ratio to prevent cutting */
    aspect-ratio: 16 / 10;
}

.family-photo-container:hover {
    transform: scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.15);
}

.family-photo {
    width: 100%;
    height: 100%;
    /* Changed from cover to contain to prevent head cutting */
    object-fit: contain;
    /* Center the image properly */
    object-position: center center;
    display: block;
    /* Add background color in case image doesn't fill container */
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Alternative class for cover mode with safe positioning */
.family-photo.cover-safe {
    object-fit: cover;
    object-position: center 25%;
    background: none;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(4, 72, 79, 0.9), rgba(4, 72, 79, 0.3));
    color: #ffe066;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bio-content {
        grid-template-columns: 350px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .bio-section {
        padding: 60px 0;
    }

    .bio-title {
        font-size: 2.5rem;
    }

    .bio-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bio-left {
        position: static;
    }

    .bio-profile-image {
        width: 150px;
        height: 150px;
    }

    .family-photo-container {
        aspect-ratio: 4 / 3;
    }

    .family-photo {
        /* For mobile, use cover with better positioning */
        object-fit: cover;
        object-position: center 20%;
    }

    .bio-family-section {
        padding: 30px 20px;
    }

    .photo-caption {
        padding: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .bio-container {
        padding: 0 15px;
    }

    .bio-title {
        font-size: 2rem;
    }

    .bio-profile-card {
        padding: 20px;
    }

    .skills-container {
        gap: 8px;
    }

    .skill-tag {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .family-photo-container {
        aspect-ratio: 3 / 2;
        border-radius: 20px;
    }

    .photo-caption {
        padding: 15px;
        font-size: 0.9rem;
    }
}



/* Smooth Scrolling Enhancements */
html {
    scroll-behavior: smooth;
}

/* Active navigation link styling */
.main-nav a.active {
    color: #ffe066 !important;
    opacity: 1 !important;
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffe066;
    border-radius: 1px;
}

/* Smooth transitions for bio section */
.bio-section {
    scroll-margin-top: 80px;
    transition: all 0.3s ease;
}

/* Enhanced hover effects for navigation */
.main-nav a {
    position: relative;
    transition: all 0.3s ease;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffe066;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::before {
    width: 100%;
}

/* Mobile navigation smooth scrolling */
@media (max-width: 768px) {
    .bio-section {
        scroll-margin-top: 60px;
    }
}

/* Fade-in animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bio section highlight animation */
.bio-section.highlight {
    animation: sectionHighlight 0.6s ease-out;
}

@keyframes sectionHighlight {
    0% {
        box-shadow: 0 0 0 rgba(255, 224, 102, 0);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 224, 102, 0.3);
    }

    100% {
        box-shadow: 0 0 0 rgba(255, 224, 102, 0);
    }
}




/* ========== BUSINESSES SECTION STYLES - TOP RIGHT EXPAND BUTTON ========== */

.businesses-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.businesses-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="b" 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="20" cy="10" r="8" fill="url(%23b)"/></svg>') repeat;
    opacity: 0.6;
    z-index: 1;
}

.businesses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Businesses Header */
.businesses-header {
    text-align: center;
    margin-bottom: 60px;
}

.businesses-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #04484f;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.businesses-title-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #04484f, #ffe066);
    margin: 0 auto 20px auto;
    border-radius: 2px;
    position: relative;
}

.businesses-title-underline::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #04484f;
    border-radius: 50%;
}

.businesses-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Businesses Grid */
.businesses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: start;
}

/* Business Cards */
.business-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 220px;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #04484f, #ffe066);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card.expanded {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(4, 72, 79, 0.2);
    min-height: 400px;
    z-index: 10;
}

.business-card.expanded::before {
    transform: scaleX(1);
}

/* Clear floats */
.business-card::after {
    content: '';
    display: table;
    clear: both;
}

/* FIXED: Expand Button - Top Right Position */
.expand-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffe066, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 224, 102, 0.3);
    z-index: 10;
}

.expand-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 224, 102, 0.4);
}

.expand-btn i {
    color: #04484f;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.business-card.expanded .expand-btn i {
    transform: rotate(45deg);
}

/* Business Logo Container - Float Left */
.business-logo-container {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
    text-align: center;
}

/* Business Logo */
.business-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 5px;
}

.business-card:hover .business-logo {
    transform: scale(1.05);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Placeholder for logos */
.logo-img[src*="placeholder"],
.logo-img[src=""] {
    background: linear-gradient(135deg, #04484f, #066973);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffe066;
    font-size: 2rem;
    font-weight: 700;
}

/* Business Established Year */
.business-estd {
    font-size: 0.75rem;
    font-weight: 600;
    color: #04484f;
    background: linear-gradient(135deg, #ffe066, #ffd700);
    padding: 4px 8px;
    border-radius: 12px;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 224, 102, 0.3);
    margin-top: 2px;
    white-space: nowrap;
    width: 80px;
}

/* Business Info - Flow around logo with proper padding for expand button */
.business-info {
    overflow: hidden;
    margin-bottom: 15px;
    /* ADDED: Right padding to avoid overlap with expand button */
    padding-right: 50px;
}

/* Business Name - Right next to logo */
.business-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #04484f;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Business Role - Below business name */
.business-role {
    display: inline-block;
    background: linear-gradient(135deg, #04484f, #066973);
    color: #ffe066;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Business Location - CLEANED UP */
.business-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    clear: both;
    margin-top: 10px;
}

.business-location i {
    color: #04484f;
    font-size: 0.8rem;
}

/* Business Description */
.business-description {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-card.expanded .business-description {
    max-height: 150px;
    opacity: 1;
}

.business-description p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #ffe066;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .businesses-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }

    .business-card {
        padding: 25px;
        min-height: 200px;
    }

    .business-card.expanded {
        min-height: 380px;
    }

    .expand-btn {
        top: 18px;
        right: 18px;
        width: 38px;
        height: 38px;
    }

    .expand-btn i {
        font-size: 0.95rem;
    }

    .business-info {
        padding-right: 45px;
    }

    .business-logo-container {
        margin-right: 18px;
        margin-bottom: 12px;
    }

    .business-logo {
        width: 75px;
        height: 75px;
    }

    .business-estd {
        font-size: 0.7rem;
        padding: 3px 6px;
        width: 75px;
    }

    .business-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .businesses-section {
        padding: 80px 0;
    }

    .businesses-title {
        font-size: 2.5rem;
    }

    .businesses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-card {
        padding: 20px;
        min-height: auto;
    }

    .business-card.expanded {
        min-height: auto;
    }

    .expand-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }

    .expand-btn i {
        font-size: 0.9rem;
    }

    .business-info {
        padding-right: 40px;
    }

    /* Mobile: Use relative positioning for description */
    .business-description {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .business-card.expanded .business-description {
        margin-top: 20px;
    }

    .business-logo-container {
        margin-right: 15px;
        margin-bottom: 10px;
    }

    .business-logo {
        width: 70px;
        height: 70px;
    }

    .business-estd {
        font-size: 0.65rem;
        padding: 2px 5px;
        width: 70px;
    }

    .business-name {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .business-role {
        font-size: 0.8rem;
        padding: 5px 10px;
        margin-bottom: 10px;
    }

    .business-location {
        margin-top: 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .businesses-container {
        padding: 0 15px;
    }

    .businesses-title {
        font-size: 2rem;
    }

    .business-card {
        padding: 18px;
    }

    .expand-btn {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }

    .expand-btn i {
        font-size: 0.85rem;
    }

    .business-info {
        padding-right: 35px;
    }

    .business-description p {
        padding: 15px;
        font-size: 0.9rem;
    }

    .business-logo-container {
        margin-right: 12px;
        margin-bottom: 8px;
    }

    .business-logo {
        width: 65px;
        height: 65px;
    }

    .business-estd {
        font-size: 0.6rem;
        padding: 2px 4px;
        width: 65px;
    }

    .business-name {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .business-role {
        font-size: 0.75rem;
        padding: 4px 8px;
        margin-bottom: 8px;
    }

    .business-location {
        margin-top: 6px;
        font-size: 0.8rem;
    }
}


/* ========== ROTARY JOURNEY SECTION STYLES ========== */

.rotary-journey-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.rotary-journey-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="rotary-bg" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,224,102,0.08)"/><stop offset="100%" stop-color="rgba(255,224,102,0)"/></radialGradient></defs><circle cx="20" cy="10" r="8" fill="url(%23rotary-bg)"/></svg>') repeat;
    opacity: 0.8;
    z-index: 1;
}

.rotary-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Rotary Header */
.rotary-header {
    text-align: center;
    margin-bottom: 60px;
}

.rotary-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #04484f;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.rotary-title-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #04484f, #ffe066);
    margin: 0 auto 20px auto;
    border-radius: 2px;
    position: relative;
}

.rotary-title-underline::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #04484f;
    border-radius: 50%;
}

.rotary-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Rotary Photo Section - NEW */
.rotary-photo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.rotary-photo-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.rotary-photo-container:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.rotary-photo {
    width: 300px;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.rotary-photo-container:hover .rotary-photo {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.rotary-badge {
    background: linear-gradient(135deg, #04484f, #066973);
    color: #ffe066;
    padding: 12px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(4, 72, 79, 0.4);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 224, 102, 0.3);
}

.rotary-badge i {
    font-size: 1.1rem;
}

.rotary-photo-caption {
    text-align: center;
    max-width: 300px;
}

.rotary-photo-caption h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #04484f;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.rotary-photo-caption p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

/* Timeline Styles */
.rotary-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.rotary-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #04484f, #ffe066, #04484f);
    border-radius: 2px;
    z-index: 1;
}

/* Timeline Items */
.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50%;
    padding-right: 0;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: 30px;
    margin-right: 0;
}

/* Timeline Dots */
.timeline-dot {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #ffe066;
    border: 4px solid #04484f;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 4px rgba(255, 224, 102, 0.3);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 8px rgba(255, 224, 102, 0.4);
}

/* Timeline Cards */
.timeline-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-right: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    min-height: 160px;
    width: 100%;
    max-width: 400px;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #04484f, #ffe066);
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.timeline-card:hover::before,
.timeline-card.expanded::before {
    transform: scaleX(1);
}

.timeline-card.expanded {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(4, 72, 79, 0.2);
    min-height: 280px;
}

.timeline-card.future {
    background: linear-gradient(135deg, rgba(255, 224, 102, 0.1), rgba(255, 255, 255, 0.95));
    border: 2px solid rgba(255, 224, 102, 0.3);
}

/* Timeline Content */
.timeline-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffe066;
    background: #04484f;
    padding: 6px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.timeline-position {
    font-size: 1.4rem;
    font-weight: 600;
    color: #04484f;
    margin-bottom: 8px;
    line-height: 1.3;
}

.timeline-brief {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}

/* Expand Button */
.timeline-expand-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffe066, #ffd700);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 224, 102, 0.3);
    z-index: 5;
}

.timeline-expand-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 224, 102, 0.4);
}

.timeline-expand-btn i {
    color: #04484f;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.timeline-card.expanded .timeline-expand-btn i {
    transform: rotate(45deg);
}

/* Timeline Description - Hidden by default */
.timeline-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
}

.timeline-card.expanded .timeline-description {
    max-height: 200px;
    opacity: 1;
}

.timeline-description p {
    color: #555;
    line-height: 1.4;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.achievement-highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 12px 16px;
    border-radius: 12px;
    border-left: 4px solid #ffe066;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.achievement-highlight i {
    color: #04484f;
    font-size: 0.9rem;
}

.achievement-highlight span {
    color: #04484f;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Statistics Section */
.rotary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #04484f, #ffe066);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #04484f;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .rotary-timeline {
        max-width: 800px;
    }

    .timeline-card {
        max-width: 350px;
    }

    .rotary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .rotary-photo-section {
        flex-direction: column;
        gap: 30px;
        padding: 35px;
    }

    .rotary-photo {
        width: 250px;
        height: 330px;
    }
}

@media (max-width: 768px) {
    .rotary-journey-section {
        padding: 80px 0;
    }

    .rotary-title {
        font-size: 2.5rem;
    }

    .rotary-photo-section {
        padding: 30px 20px;
        margin-bottom: 60px;
    }

    .rotary-photo {
        width: 220px;
        height: 290px;
    }

    .rotary-photo-caption h3 {
        font-size: 1.5rem;
    }

    .rotary-photo-caption p {
        font-size: 0.9rem;
    }

    /* Mobile Timeline - Single Column */
    .rotary-timeline::before {
        left: 30px;
    }

    .timeline-item {
        justify-content: flex-start;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) .timeline-card {
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-card {
        margin-right: 0;
        max-width: none;
        min-height: 140px;
    }

    .timeline-card.expanded {
        min-height: 260px;
    }

    .rotary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 60px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .rotary-container {
        padding: 0 15px;
    }

    .rotary-title {
        font-size: 2rem;
    }

    .rotary-photo-section {
        padding: 25px 15px;
    }

    .rotary-photo {
        width: 200px;
        height: 260px;
    }

    .rotary-photo-caption h3 {
        font-size: 1.3rem;
    }

    .rotary-badge {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .timeline-item {
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .timeline-item:nth-child(even) {
        padding-left: 60px;
    }

    .timeline-dot {
        left: 25px;
        width: 16px;
        height: 16px;
    }

    .timeline-card {
        padding: 25px 20px;
        border-radius: 15px;
        min-height: 120px;
    }

    .timeline-card.expanded {
        min-height: 240px;
    }

    .timeline-expand-btn {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }

    .timeline-expand-btn i {
        font-size: 0.9rem;
    }

    .timeline-position {
        font-size: 1.2rem;
    }

    .rotary-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}


/* ========== CONTACT SECTION STYLES ========== */

.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-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="contact-bg" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,224,102,0.08)"/><stop offset="100%" stop-color="rgba(255,224,102,0)"/></radialGradient></defs><circle cx="25" cy="12" r="7" fill="url(%23contact-bg)"/></svg>') repeat;
    opacity: 0.8;
    z-index: 1;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #04484f;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.contact-title-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #04484f, #ffe066);
    margin: 0 auto 20px auto;
    border-radius: 2px;
    position: relative;
}

.contact-title-underline::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #04484f;
    border-radius: 50%;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Contact Content Layout */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* margin-bottom: 80px; */
    /* added by gir */
    align-items: start;
}

/* Contact Description with Image */
.contact-intro-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: sticky;
    top: 20px;
    overflow: hidden;
}

/* Professional Image Section */
.professional-image-section {
    position: relative;
    height: 250px;
    overflow: hidden;
    margin-bottom: 30px;
}

.professional-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.professional-image {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    /* disable by gir */
    object-position: center;
    transition: transform 0.4s ease;
}

.contact-intro-card:hover .professional-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(4, 72, 79, 0.9), rgba(4, 72, 79, 0.3));
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-badge {
    background: rgba(255, 224, 102, 0.95);
    color: #04484f;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(4, 72, 79, 0.2);
}

.overlay-badge i {
    font-size: 1.1rem;
}

/* Intro Content */
.intro-content {
    padding: 0 40px 40px 40px;
}

.intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: #04484f;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffe066;
    border-radius: 2px;
}

.intro-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.intro-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #04484f;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    color: #04484f;
    font-size: 1.1rem;
}

.highlight-item span {
    color: #04484f;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    /* gap: 25px; */
    gap: 15px
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #04484f, #ffe066);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #04484f, #066973);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffe066;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(4, 72, 79, 0.3);
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #04484f;
    margin-bottom: 12px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-link {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.contact-link.primary {
    color: #04484f;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: #04484f;
    border-bottom-color: #ffe066;
    transform: translateX(3px);
}

.contact-address {
    color: #666;
    line-height: 1.6;
}

.address-line {
    margin-bottom: 5px;
    font-size: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #04484f;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: #ffe066;
    border-color: #04484f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 224, 102, 0.4);
}

/* Call to Action - FIXED */
.contact-cta {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(4, 72, 79, 0.95), rgba(6, 105, 115, 0.95));
    padding: 40px 35px;
    border-radius: 25px;
    text-align: center;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 224, 102, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffe066;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.cta-btn.primary {
    background: #ffe066;
    color: #04484f;
    border-color: #ffe066;
}

.cta-btn.primary:hover {
    background: transparent;
    color: #ffe066;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 224, 102, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: #ffe066;
    border-color: #ffe066;
}

.cta-btn.secondary:hover {
    background: #ffe066;
    color: #04484f;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 224, 102, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        gap: 40px;
    }

    .intro-highlights {
        grid-template-columns: 1fr;
    }

    .professional-image-section {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-intro-card {
        position: static;
    }

    .intro-content {
        padding: 0 30px 30px 30px;
    }

    .intro-title {
        font-size: 1.6rem;
    }

    .professional-image-section {
        height: 200px;
    }

    /* MOBILE VIEW - CENTER ALIGNMENT FIX */
    .contact-card {
        padding: 25px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .contact-details {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .cta-card {
        padding: 35px 25px;
        margin: 0 15px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 15px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .intro-content {
        padding: 0 20px 25px 20px;
    }

    .intro-title {
        font-size: 1.4rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .professional-image-section {
        height: 180px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .cta-card {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .cta-text {
        font-size: 0.95rem;
    }
}



/* ========== 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;
    }
}
