﻿/* Logo hover effect */
.clickable-logo:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Logo Modal Styles */
.logo-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s;
}

.logo-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.logo-modal-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
}

.logo-modal-text {
    color: white;
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: 500;
}

.logo-close {
    position: absolute;
    top: -10px;
    right: 10px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.logo-close:hover {
    color: #ccc;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); }
    to { transform: scale(1); }
}

/* Responsive logo modal */
@media only screen and (max-width: 768px) {
    .logo-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .logo-modal-text {
        font-size: 1.2rem;
    }
}

/* Professional Contact Form Styling */
.professional-contact-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 64px);
    padding: 60px 0;
}

.contact-header h2 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info-card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px 20px;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 48px !important;
    color: #3498db;
    background: linear-gradient(45deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-logo {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-manager-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.contact-manager-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
    background: linear-gradient(45deg, #2980b9, #1f639a);
}

/* Professional Form Styling */
.professional-form-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    max-width: 700px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2980b9, #9b59b6);
}

.form-header-icon {
    font-size: 64px !important;
    color: #3498db;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 16px;
    color: #7f8c8d;
}

.required-note {
    font-size: 13px;
    margin-top: 10px;
    font-style: italic;
}

.form-group-modern {
    position: relative;
    margin-bottom: 25px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #3498db;
    font-size: 20px !important;
    z-index: 2;
    transition: color 0.3s ease;
}

.textarea-icon {
    top: 15px;
    align-self: flex-start;
}

.form-control-modern {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
}

.textarea-modern {
    resize: vertical;
    min-height: 120px;
}

.form-control-modern:focus {
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.form-control-modern:focus + .form-label-modern {
    color: #3498db;
    transform: translateY(-25px) translateX(-10px) scale(0.85);
}

.form-control-modern:not(:placeholder-shown) + .form-label-modern {
    transform: translateY(-25px) translateX(-10px) scale(0.85);
    color: #3498db;
}

.form-control-modern:focus ~ .input-icon {
    color: #3498db;
}

.form-label-modern {
    position: absolute;
    left: 50px;
    top: 15px;
    color: #7f8c8d;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 5px;
}

.validation-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

.required-asterisk {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 2px;
}

.form-control-modern.is-invalid {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.form-control-modern.is-valid {
    border-color: #27ae60;
    background-color: #f0f9f0;
}

.alert-modern {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary-modern {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-primary-modern:hover {
    background: linear-gradient(45deg, #2980b9, #1f639a);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
}

.btn-primary-modern:focus,
.btn-primary-modern:active:focus {
    outline: none !important;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5) !important;
    border: none !important;
}

.btn-outline-secondary-modern {
    border: 2px solid #95a5a6;
    color: #7f8c8d;
    background: transparent;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary-modern:hover {
    background: #95a5a6;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-secondary-modern:focus,
.btn-outline-secondary-modern:active:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(149, 165, 166, 0.3) !important;
    border-color: #95a5a6 !important;
}

/* Professional Login Button for Navigation */
.btn-login-professional {
    background: linear-gradient(45deg, #1e88e5, #1976d2) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.3) !important;
    text-transform: none !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 32px !important;
    min-width: auto !important;
    line-height: 1 !important;
}

.btn-login-professional:hover {
    background: linear-gradient(45deg, #1976d2, #1565c0) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4) !important;
    color: #ffffff !important;
}

.btn-login-professional:focus,
.btn-login-professional:active:focus {
    outline: none !important;
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.5) !important;
    background: linear-gradient(45deg, #1e88e5, #1976d2) !important;
    color: #ffffff !important;
}

.btn-login-professional .material-icons {
    font-size: 14px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .professional-contact-page {
        padding: 40px 0;
    }
    
    .form-header-icon {
        font-size: 48px !important;
    }
}

/*---------------------------------Material Design Layout-------------------------------------------*/
/* Navbar left section styling for contact info */
.navbar-left-section {
    display: flex;
    align-items: flex-start;
    position: absolute;
    left: 10px;
    top: 5px;
    z-index: 1000;
    padding: 5px 10px;
    background: rgba(0, 77, 64, 0.9);
    border-radius: 4px;
}

.contact-info-left {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.contact-address,
.contact-phone,
.contact-member {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: white !important;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
}

.contact-address .material-icons.tiny,
.contact-phone .material-icons.tiny,
.contact-member .material-icons.tiny {
    font-size: 14px !important;
    vertical-align: middle;
    margin-right: 3px;
    display: inline-flex;
    align-items: center;
}

/* Navbar right section styling */
.navbar-right-section {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.social-auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-buttons {
    display: flex;
    gap: 8px;
}

.auth-buttons {
    display: flex;
}

/* Social media buttons styling */
.facebook-btn {
    background-color: #3b5998 !important;
}

.youtube-btn {
    background-color: #FF0000 !important;
}

.email-btn {
    background-color: #D44638 !important;
}

.facebook-btn:hover,
.youtube-btn:hover,
.email-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Main content area adjustments for Material Design sidenav */
.main-content {
    margin-left: 300px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

/* Side navigation menu items styling */
.sidenav .menu-item {
    display: flex !important;
    align-items: center !important;
    padding: 0 32px !important;
    height: 48px !important;
    line-height: 48px !important;
    text-decoration: none !important;
    margin: 0 !important;
    border: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.sidenav .menu-item i {
    margin-right: 15px !important;
    margin-left: 0 !important;
    width: 24px !important;
    height: 24px !important;
    text-align: center !important;
    font-size: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

/* Colorful icons for menu items */
.sidenav .menu-item i.material-icons {
    color: #2196F3; /* Blue for regular menu items */
}

.sidenav .collapsible-header i.material-icons {
    color: #4CAF50; /* Default green for collapsible headers */
}

.sidenav .collapsible-body ul li a i {
    color: #FF9800; /* Orange for sub-items */
}

/* Specific icon colors for regular menu items */
.sidenav a[href*="Index"] i { color: #2196F3 !important; } /* Blue for HOME */
.sidenav a[href*="HomeDesign"] i { color: #FF5722 !important; } /* Red for HOME DESIGN */
.sidenav a[href*="ManagerContact"] i { color: #607D8B !important; } /* Blue grey for CONTACT */

/* Specific icon colors for collapsible headers using structural selectors */
.sidenav li:nth-child(3) .collapsible-header i { color: #9C27B0 !important; } /* Purple for ABOUT */
.sidenav li:nth-child(4) .collapsible-header i { color: #4CAF50 !important; } /* Green for SITE PLAN */
.sidenav li:nth-child(6) .collapsible-header i { color: #00BCD4 !important; } /* Cyan for AMENITIES */
.sidenav li:nth-child(7) .collapsible-header i { color: #FF9800 !important; } /* Orange for ACTIVITIES */
.sidenav li:nth-child(8) .collapsible-header i { color: #795548 !important; } /* Brown for LOCATION */
.sidenav li:nth-child(9) .collapsible-header i { color: #E91E63 !important; } /* Pink for PHOTOS */

.sidenav .menu-item span {
    font-size: 14px !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 48px !important;
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.sidenav .collapsible-body ul li a {
    display: flex;
    align-items: center;
    padding-left: 72px;
    font-size: 13px;
    height: 44px;
    line-height: 44px;
    text-decoration: none;
}

.sidenav .collapsible-body ul li a span {
    display: flex;
    align-items: center;
    line-height: 44px;
}

.sidenav .collapsible-body ul li a i {
    margin-right: 12px;
    width: 20px;
    font-size: 18px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* On mobile, remove left margin when sidenav is hidden */
@media only screen and (max-width: 992px) {
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .navbar-right-section,
    .navbar-left-section {
        display: none !important;
    }
    
    .sidenav-fixed {
        transform: translateX(-105%);
    }
}

/* Ensure sidenav works properly on mobile */
@media only screen and (max-width: 992px) {
    .sidenav-fixed {
        transform: translateX(-105%);
    }
    
    .sidenav.sidenav-fixed.open {
        transform: translateX(0);
    }
}

/* Custom styling for collapsible headers */
.sidenav .collapsible-header {
    display: flex !important;
    align-items: center !important;
    padding: 0 32px !important;
    height: 48px !important;
    line-height: 48px !important;
    text-decoration: none !important;
    margin: 0 !important;
    border: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.sidenav .collapsible-header i.material-icons:first-child {
    margin-right: 15px !important;
    margin-left: 0 !important;
    width: 24px !important;
    height: 24px !important;
    text-align: center !important;
    font-size: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

/* Add text alignment for collapsible header spans */
.sidenav .collapsible-header span {
    font-size: 14px !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 48px !important;
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Remove arrow icons from collapsible headers - they're handled automatically */
.collapsible-header .material-icons.right {
    display: none;
}

/* Navbar adjustments for better responsiveness */
@media only screen and (min-width: 993px) {
    .navbar-left-section {
        display: flex !important;
        left: 10px;
        top: 5px;
    }
}

@media only screen and (max-width: 1200px) {
    .contact-address,
    .contact-phone,
    .contact-member {
        font-size: 0.7rem;
    }
    
    .navbar-right-section {
        gap: 12px;
    }
    
    .navbar-left-section {
        left: 8px;
        top: 4px;
    }
}

@media only screen and (max-width: 600px) {
    .brand-logo {
        font-size: 1.4rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .brand-logo img {
        height: 30px !important;
    }
    
    .nav-wrapper .right {
        display: none !important;
    }
}

/* iPad specific styles */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .main-content {
        margin-left: 300px;
        padding: 18px;
    }
    
    .navbar-right-section {
        gap: 10px;
        right: 15px;
    }
    
    .navbar-left-section {
        left: 15px;
    }
    
    .contact-address,
    .contact-phone,
    .contact-member {
        font-size: 0.8rem;
    }
    
    .social-buttons {
        gap: 6px;
    }
}

/* Mobile landscape specific styles */
@media only screen and (max-width: 992px) and (orientation: landscape) {
    .main-content {
        padding: 10px 15px;
    }
    
    .brand-logo {
        font-size: 1.2rem !important;
    }
}

/* iPhone specific styles */
@media only screen and (max-width: 414px) {
    .brand-logo {
        font-size: 1.0rem !important;
    }
    
    .brand-logo img {
        height: 25px !important;
        margin-right: 5px !important;
    }
    
    .main-content {
        padding: 10px;
    }
    
    .info-bar {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
    
    .container {
        padding: 10px;
        margin-top: 10px;
    }
}

/* iPhone Plus and similar devices */
@media only screen and (max-width: 414px) and (min-height: 736px) {
    .sidenav .menu-item {
        height: 52px;
        line-height: 52px;
    }
}

/* Small mobile devices */
@media only screen and (max-width: 360px) {
    .brand-logo {
        font-size: 0.9rem !important;
    }
    
    .main-content {
        padding: 8px;
    }
}

/* Tablet specific adjustments */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    body {
        font-size: 16px;
    }
    
    .sidenav {
        width: 280px;
    }
    
    .main-content {
        margin-left: 280px;
    }
}

/* Large tablets and small desktops */
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
    .navbar-right-section {
        right: 25px;
    }
    
    .social-buttons {
        gap: 10px;
    }
}

/* High DPI displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2), 
       only screen and (min-resolution: 192dpi) {
    .btn-floating {
        border: none;
        outline: none;
    }
}

/*---------------------------------Original styles-------------------------------------------*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 30px;
}

h1 {
    text-align: center;
    color: #00627a;
}

.aboutUsAccordion {
    background: #00627a;
    color: white;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 18px;
    transition: 0.4s;
    margin-top: 5px;
    border-radius: 5px;
}

    .aboutUsAccordion:hover {
        opacity: 0.85;
    }

    .active, .aboutUsAccordion:focus {
        background: #00627a !important;
    }

.aboutUsPanel {
    padding: 15px;
    display: none;
    background: #f9f9f9;
    overflow: hidden;
    border-left: 3px solid #00627a;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.6;
    border-radius: 5px;
}

footer {
    text-align: center;
    background: #00627a;
    color: white;
    padding: 5px;
    margin-top: 30px;
}

.me-2 {
    width: 42px;
    height: 40px;
}

    .me-2:hover {
        border: 1px solid white;
    }

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 90vh;
    border: 2px solid #333;
    box-shadow: 0 4px 10px #00627a /*rgba(0, 0, 0, 0.3)*/;
    border-radius: 10px;
    overflow: hidden;
}

.info-bar p {
    margin: 5px 0;
}

.info-bar {
    width: 100%;
    background: #f8f9fa; /* Contrasting color */
    color: #00627a /*rgba(0.5, 0.5, 0.5, 0.5)*/;
    opacity: 0.5;
    text-align: center;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.detail-bar {
    width: 100%;
    background: #f8f9fa; /* Contrasting color */
    color: #00627a /*rgba(0.5, 0.5, 0.5, 0.5)*/;
    opacity: 0.5;
    text-align: center;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
}

button[disabled] {
    pointer-events: none;
    opacity: 0.5;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #00627a;
    color: #fff;
    min-height: 120px;
}

.logo-img {
    height: 100px;
    border-radius: 50%;
}

.header-title {
    margin: 0;
    font-size: 1.5rem;
}

.contact-info span {
    font-size: 14px;
}

.navbar-nav {
    display: flex;
    gap: 20px;
    margin-right: 18px;
    justify-content: flex-end;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    margin-top: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00627a /*rgba(0, 0, 0, 0.8)*/;
    text-align: center;
    width: max-content;
}

/* Ensure dropdown menus work consistently across browsers */
.navbar-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1050;
}

.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
}

/* Responsive design for mobile devices */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
  }

  .dropdown-item {
    text-align: left;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 10px;
  }

  .header-title {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
    .nav-item:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 991px) {
    .top-bar {
        min-height: auto;
        padding: 15px;
    }
    .logo-img {
        height: 80px;
        transition: opacity 0.3s ease;
    }
    .header-title {
        font-size: 1.2rem;
    }
    .contact-info span {
        font-size: 13px;
    }
    .main-content {
        transition: opacity 0.3s ease;
        opacity: 1;
        padding: 10px;
    }
    .navbar.full-screen {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .main-content.hidden {
        display: none;
    }
    .dropdown-menu {
        position: static !important;
        left: 0;
        width: 100%;
        text-align: left;
        margin-top: 0;
        transform: none;
        background-color: rgba(0, 98, 122, 0.9);
        border: none;
        box-shadow: none;
    }
    .dropdown-menu.show {
        display: block !important;
    }
    .dropdown-menu {
        display: none;
    }
    .dropdown-menu.show {
        display: block !important;
    }
    .navbar-toggler {
        display: block !important;
        margin-left: auto;
        background-color: rgba(255,255,255,0.2);
        border: 1px solid #fff;
    }
    .social-buttons {
        margin-right: 0;
    }
    .navbar-collapse {
        background-color: #00627a;
        margin-top: 10px;
        padding: 15px;
        border-radius: 5px;
    }
    .navbar-collapse {
        position: relative;
        z-index: 1;
    }
    .navbar {
        margin-left: 0 !important;
    }
    .navbar-collapse {
        background-color: #00627a;
        padding: 20px;
        border-radius: 5px;
        margin-top: 10px;
    }
}

/* Fix for images not showing on mobile */
@media (max-width: 991px) {
    img {
        max-width: 100%;
        height: auto;
    }
    .carousel img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
        margin-top: 15px;
    }
    .top-bar h3 {
        font-size: 1rem;
    }
    .top-bar span {
        font-size: 14px !important;
    }
    .me-2 {
        width: 35px;
        height: 35px;
    }
    .info-bar {
        font-size: 14px;
        padding: 8px 15px;
    }
    .pdf-container {
        height: 60vh;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 5px;
    }
    .top-bar img {
        height: 60px !important;
    }
    .top-bar h3 {
        font-size: 0.9rem;
    }
    .top-bar span {
        font-size: 12px !important;
    }
    .me-2 {
        width: 30px;
        height: 30px;
    }
    .container {
        width: 98%;
        padding: 10px;
    }
    .info-bar {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/*---------------------------------------------------------------------------------*/

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.dl-horizontal dt {
    white-space: normal;
}

input,
select,
textarea {
    max-width: 280px;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #777;
    border-color: #fff
}


.arrow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .arrow-list li {
        position: relative;
        padding-left: 2em;
        margin-bottom: 0.8em;
        font-size: 1.0em;
        font-weight: 500;
        color: #003c4c; /* darker text for contrast */
    }

        .arrow-list li::before {
            content: "➤"; /* Unicode arrow */
            position: absolute;
            left: 0;
            top: 0;
            font-size: 1.0em;
            background: linear-gradient(45deg, #00627a, #01abd4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: bold;
        }


.carousel {
    width: 100%;
    position: relative;
    margin: auto;
}

    .carousel input {
        display: none;
    }

.carousel-images {
    display: flex;
    width: 150%; /* 500px * 3 */
    transition: transform 0.5s ease-in-out;
}

.image {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

    .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Radio behavior to move images */
#img1:checked ~ .carousel-images {
    transform: translateX(0);
}

#img2:checked ~ .carousel-images {
    transform: translateX(-500px);
}

#img3:checked ~ .carousel-images {
    transform: translateX(-1000px);
}

/* Bar styles */
.carousel-bars {
    text-align: center;
    margin-bottom: 100px;
}

    .carousel-bars label {
        cursor: pointer;
        font-size: 30px;
        font-weight: bold;
        color: #aaa;
        padding: 0 10px;
        transition: color 0.3s;
    }

/* Highlight selected bar */
#img1:checked ~ .carousel-bars label[for="img1"],
#img2:checked ~ .carousel-bars label[for="img2"],
#img3:checked ~ .carousel-bars label[for="img3"] {
    color: #00627a;
}

/* NACC Goal Page Styling */
.nacc-goal-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 0;
}

.goal-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 30px;
}

.goal-icon {
    font-size: 48px !important;
    color: #9C27B0;
    vertical-align: middle;
    margin-right: 15px;
}

.vision-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 20px 0;
    border-radius: 15px;
}

.vision-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #3498db;
    transition: transform 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
}

.vision-icon {
    font-size: 48px !important;
    color: #3498db;
    margin-bottom: 15px;
}

.challenge-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 20px 0;
    border-radius: 15px;
}

.challenge-card, .solution-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.challenge-card:hover, .solution-card:hover {
    transform: translateY(-5px);
}

.challenge-header {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px;
    text-align: center;
}

.solution-header {
    background: linear-gradient(45deg, #27ae60, #229954);
    color: white;
    padding: 20px;
    text-align: center;
}

.card-header i {
    font-size: 32px !important;
    margin-right: 10px;
}

.card-content {
    padding: 25px;
}

.challenge-list, .solution-list {
    list-style: none;
    padding: 0;
}

.challenge-list li, .solution-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
    position: relative;
    padding-left: 30px;
}

.challenge-list li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
    color: #e74c3c;
}

.solution-list li:before {
    content: "✅";
    position: absolute;
    left: 0;
    color: #27ae60;
}

.facilities-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 20px 0;
    border-radius: 15px;
}

.facility-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.facility-item:hover {
    transform: translateY(-5px);
}

.facility-icon {
    font-size: 48px !important;
    margin-bottom: 15px;
}

.facility-item:nth-child(1) .facility-icon { color: #9b59b6; }
.facility-item:nth-child(2) .facility-icon { color: #3498db; }
.facility-item:nth-child(3) .facility-icon { color: #1abc9c; }
.facility-item:nth-child(4) .facility-icon { color: #2ecc71; }

.impact-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 20px 0;
    border-radius: 15px;
}

.impact-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 4px solid #e67e22;
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-card i {
    font-size: 48px !important;
    color: #e67e22;
    margin-bottom: 15px;
}

.section-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Responsive Design for Goal Page */
@media (max-width: 768px) {
    .nacc-goal-container {
        padding: 20px 0;
    }
    
    .vision-card, .facility-item, .impact-card {
        margin-bottom: 20px;
    }
    
    .goal-icon {
        font-size: 36px !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* NACC History Page Styling */
.nacc-history-page {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    min-height: 100vh;
}

.history-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    margin-bottom: 30px;
}

.history-title {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.history-icon {
    font-size: 48px !important;
    color: #f39c12;
    vertical-align: middle;
    margin-right: 15px;
}

.history-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.history-stats {
    text-align: center;
}

.stat-circle {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.stat-year {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.stat-desc {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-status-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 30px 0;
    border-radius: 20px;
    padding: 40px 0;
}

.status-timeline {
    position: relative;
    padding: 20px 0;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #27ae60, #f39c12, #e74c3c);
    border-radius: 2px;
}

.status-item {
    position: relative;
    margin: 40px 0;
    display: flex;
    align-items: center;
}

.status-item:nth-child(odd) {
    flex-direction: row;
}

.status-item:nth-child(even) {
    flex-direction: row-reverse;
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin: 0 20px;
}

.status-item.completed .status-icon {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 0 0 4px white, 0 0 0 8px #27ae60;
}

.status-item.in-progress .status-icon {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 0 0 4px white, 0 0 0 8px #f39c12;
    animation: pulse 2s infinite;
}

.status-item.upcoming .status-icon {
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
    color: white;
    box-shadow: 0 0 0 4px white, 0 0 0 8px #95a5a6;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 4px white, 0 0 0 8px #f39c12; }
    50% { box-shadow: 0 0 0 4px white, 0 0 0 15px rgba(243, 156, 18, 0.3); }
    100% { box-shadow: 0 0 0 4px white, 0 0 0 8px #f39c12; }
}

.status-icon i {
    font-size: 28px !important;
}

.status-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    flex: 1;
    max-width: 400px;
}

.status-item:nth-child(odd) .status-content {
    margin-left: 20px;
    border-left: 4px solid #3498db;
}

.status-item:nth-child(even) .status-content {
    margin-right: 20px;
    border-right: 4px solid #3498db;
    text-align: right;
}

.status-content h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.status-content p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.status-date {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.overall-progress {
    margin-top: 40px;
    text-align: center;
}

.progress-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #ecf0f1;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    transition: width 2s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(45deg, transparent 35%, rgba(255,255,255,.5) 35%, rgba(255,255,255,.5) 65%, transparent 65%);
    background-size: 35px 20px;
    animation: progress-animation 1s linear infinite;
}

@keyframes progress-animation {
    0% { background-position: 0 0; }
    100% { background-position: 35px 0; }
}

.progress-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    display: block;
}

.progress-phase {
    color: #7f8c8d;
    font-style: italic;
}

.history-image-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 30px 0;
    border-radius: 20px;
    padding: 40px 0;
}

.image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.02);
}

.history-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.9), rgba(155, 89, 182, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-icon {
    font-size: 64px !important;
    margin-bottom: 15px;
}

.overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.milestones-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 30px 0;
    border-radius: 20px;
    padding: 40px 0;
}

.milestone-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
}

.milestone-card:hover {
    transform: translateY(-10px);
}

.milestone-icon {
    font-size: 48px !important;
    margin-bottom: 15px;
}

.milestone-card:nth-child(1) .milestone-icon { color: #e74c3c; }
.milestone-card:nth-child(2) .milestone-icon { color: #f39c12; }
.milestone-card:nth-child(3) .milestone-icon { color: #27ae60; }
.milestone-card:nth-child(4) .milestone-icon { color: #3498db; }

.milestone-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.milestone-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.milestone-year {
    background: linear-gradient(45deg, #34495e, #2c3e50);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive Design for History Page */
@media (max-width: 992px) {
    .status-timeline::before {
        left: 30px;
    }
    
    .status-item {
        flex-direction: row !important;
    }
    
    .status-item:nth-child(even) .status-content {
        text-align: left;
        border-right: none;
        border-left: 4px solid #3498db;
    }
    
    .status-icon {
        margin-left: 0;
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .nacc-history-page {
        padding: 0;
    }
    
    .history-header {
        padding: 20px 0;
    }
    
    .history-title {
        font-size: 1.8rem;
    }
    
    .history-icon {
        font-size: 36px !important;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    
    .status-content {
        max-width: none;
    }
    
    .milestone-card {
        margin-bottom: 20px;
    }
}

/* Around NACC Page Styling - Simple Static Image Display */
.around-nacc-page {
    background: linear-gradient(135deg, #16a085 0%, #2ecc71 100%);
    min-height: 100vh;
}

.around-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    margin-bottom: 30px;
}

.around-title {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.around-icon {
    font-size: 48px !important;
    color: #f1c40f;
    vertical-align: middle;
    margin-right: 15px;
}

.around-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.location-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 15px 25px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.location-badge i {
    font-size: 24px !important;
    margin-right: 10px;
    color: #f1c40f;
}

/* Simple Static Image Container */
.image-showcase-section {
    background: rgba(255, 255, 255, 0.98);
    margin: 30px 0;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.around-nacc-container {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

.around-nacc-static-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    /* High resolution rendering for maximum clarity */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -webkit-crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* Fallback to auto for best browser support */
    image-rendering: auto;
    
    /* Sharp image display - prevent blurring */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    
    /* Hardware acceleration for smooth display */
    transform: translateZ(0);
    will-change: transform;
    
    /* High quality scaling */
    object-fit: contain;
    object-position: center;
    
    /* Remove any compression artifacts */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

.image-header .section-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.image-header .section-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.info-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 30px 0;
    border-radius: 20px;
    padding: 40px 0;
}

.info-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    border-top: 4px solid transparent;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card:nth-child(1) { border-top-color: #e74c3c; }
.info-card:nth-child(2) { border-top-color: #3498db; }
.info-card:nth-child(3) { border-top-color: #f39c12; }

.info-icon {
    font-size: 48px !important;
    margin-bottom: 20px;
}

.info-card:nth-child(1) .info-icon { color: #e74c3c; }
.info-card:nth-child(2) .info-icon { color: #3498db; }
.info-card:nth-child(3) .info-icon { color: #f39c12; }

.info-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Design for Around NACC Page */
@media (max-width: 768px) {
    .around-nacc-page {
        padding: 0;
    }
    
    .around-header {
        padding: 20px 0;
    }
    
    .around-title {
        font-size: 1.8rem;
    }
    
    .around-icon {
        font-size: 36px !important;
    }
    
    .location-badge {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .image-showcase-section {
        padding: 20px 10px;
        margin: 20px 10px;
    }
    
    .image-header .section-title {
        font-size: 1.8rem;
    }
    
    .image-controls {
        top: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
    }
    
    .control-btn i {
        font-size: 18px !important;
    }
    
    .info-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .image-controls {
        position: static;
        margin-top: 15px;
        justify-content: center;
    }
}

