/* Modern Styling Enhancements */

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

/* Modern Card Styles */
.modern-card {
    background: #000000;
    border: 1px solid #FFD700;
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    z-index: 1;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), transparent, rgba(255, 215, 0, 0.1));
    z-index: -1;
    transform: translateX(-100%);
    transition: transform 0.6s ease-in-out;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.modern-card:hover::before {
    transform: translateX(100%);
}

.modern-card i {
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease-in-out;
}

.modern-card:hover i {
    transform: scale(1.1);
    color: #FFC107;
}

.modern-card h4 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.modern-card:hover h4 {
    color: #FFC107;
}

.modern-card p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease-in-out;
}

.modern-card:hover p {
    color: #f0f0f0;
}

/* Modern Button Styles */
.modern-btn {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    margin-top: auto;
    z-index: 1;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFD700;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}

.modern-btn:hover {
    color: #000000;
    text-decoration: none;
}

.modern-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Modern Section Styles */
.container.mt-5.modern-section {
    background: #000000;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--secondary-color);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.container.mt-5.modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.container.mt-5.modern-section:hover::before {
    transform: translateX(100%);
}

.container.mt-5.modern-section .title-default-coodiv {
    text-align: center;
    margin-bottom: 40px;
}

.container.mt-5.modern-section .modern-title {
    color: #FFD700;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container.mt-5.modern-section .modern-subtitle {
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0.9;
}

.container.mt-5.modern-section .modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0;
}

.container.mt-5.modern-section .modern-card {
    background: #000000;
    border: 1px solid #FFD700;
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container.mt-5.modern-section .modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.1);
}

.container.mt-5.modern-section .modern-card i {
    font-size: 3em;
    color: #FFD700 !important;
    margin-bottom: 1.5rem;
}

.container.mt-5.modern-section .modern-card h4 {
    color: #FFD700 !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.container.mt-5.modern-section .modern-card p {
    color: #ffffff !important;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.container.mt-5.modern-section .modern-btn {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-top: auto;
}

.container.mt-5.modern-section .modern-btn:hover {
    background: #FFD700;
    color: #000000;
    text-decoration: none;
}

/* Modern Grid Layout */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0;
}

/* Modern Title Styles */
.modern-title {
    color: #FFD700;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.modern-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #FFD700;
}

.modern-subtitle {
    color: #ffffff;
    font-size: 1.2rem;
    text-align: center;
    display: block;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Modern Image Styles */
.modern-img {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.modern-img img {
    transition: transform 0.5s ease;
}

.modern-img:hover img {
    transform: scale(1.1);
}

.modern-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-img:hover::after {
    opacity: 1;
}

/* Modern Form Styles */
.modern-form input,
.modern-form textarea {
    background: var(--primary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 15px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.modern-form input:focus,
.modern-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

/* Modern Navigation Styles */
.modern-nav {
    background: var(--primary-color);
    border-bottom: 1px solid var(--secondary-color);
    padding: 15px 0;
}

.modern-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.modern-nav .nav-link:hover {
    color: var(--secondary-color);
    background: rgba(255, 215, 0, 0.1);
}

/* Modern Footer Styles */
.modern-footer {
    background: var(--primary-color);
    border-top: 2px solid var(--secondary-color);
    padding: 60px 0 30px;
}

.modern-footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.modern-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.modern-footer ul li {
    margin-bottom: 15px;
}

.modern-footer ul li a {
    color: var(--text-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.modern-footer ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Modern Social Icons */
.modern-social {
    display: flex;
    gap: 15px;
}

.modern-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.modern-social a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-in-out forwards;
}

/* Modern Typography */
.modern-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* Modern Responsive Design */
@media (max-width: 768px) {
    .container.mt-5.modern-section {
        padding: 30px;
    }
    
    .container.mt-5.modern-section .modern-title {
        font-size: 2rem;
    }
    
    .container.mt-5.modern-section .modern-subtitle {
        font-size: 1rem;
    }
    
    .container.mt-5.modern-section .modern-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-card {
        padding: 2rem;
        margin-bottom: 20px;
    }
    
    .modern-card i {
        font-size: 3rem;
    }
    
    .modern-title {
        font-size: 2rem;
    }
    
    .modern-subtitle {
        font-size: 1rem;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 1200px) {
    .modern-card {
        padding: 2rem;
    }
    
    .modern-title {
        font-size: 2rem;
    }
    
    .modern-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .modern-card {
        padding: 1.8rem;
    }
    
    .modern-card i {
        font-size: 3rem;
    }
    
    .modern-card h4 {
        font-size: 1.3rem;
    }
    
    .modern-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .container.mt-5.modern-section {
        padding: 30px;
    }
    
    .container.mt-5.modern-section .modern-title {
        font-size: 2rem;
    }
    
    .container.mt-5.modern-section .modern-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .modern-card {
        padding: 1.5rem;
        margin-bottom: 20px;
    }
    
    .modern-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .modern-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .modern-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .modern-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .container.mt-5.modern-section {
        padding: 20px;
    }
    
    .container.mt-5.modern-section .modern-title {
        font-size: 1.8rem;
    }
    
    .container.mt-5.modern-section .modern-subtitle {
        font-size: 0.9rem;
    }
    
    .modern-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modern-title {
        font-size: 1.8rem;
    }
    
    .modern-subtitle {
        font-size: 0.9rem;
    }
    
    /* Navigation adjustments */

    
    /* Footer adjustments */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer ul li {
        margin-bottom: 8px;
    }
    
    .footer ul li a {
        font-size: 0.9rem;
    }
    
    /* Form adjustments */
    .modern-form input,
    .modern-form textarea,
    .modern-form select {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .modern-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .modern-card {
        padding: 1.2rem;
    }
    
    .modern-card i {
        font-size: 2rem;
    }
    
    .modern-card h4 {
        font-size: 1.1rem;
    }
    
    .modern-card p {
        font-size: 0.85rem;
    }
    
    .modern-btn {
        padding: 7px 18px;
        font-size: 0.8rem;
    }
    
    .container.mt-5.modern-section {
        padding: 15px;
    }
    
    .container.mt-5.modern-section .modern-title {
        font-size: 1.5rem;
    }
    
    .container.mt-5.modern-section .modern-subtitle {
        font-size: 0.85rem;
    }
    
    .modern-title {
        font-size: 1.5rem;
    }
    
    .modern-subtitle {
        font-size: 0.85rem;
    }
    
    /* Header adjustments */
    .main-header-title {
        font-size: 1.8rem !important;
    }
    
    .main-header-sub-title {
        font-size: 0.9rem !important;
    }
    
    /* Footer adjustments */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    .footer ul li a {
        font-size: 0.85rem;
    }
    
    /* Form adjustments */
    .form-card {
        padding: 15px;
    }
    
    .modern-form input,
    .modern-form textarea,
    .modern-form select {
        font-size: 0.85rem;
        padding: 7px 10px;
    }
    
    .modern-label {
        font-size: 0.8rem;
    }
    
    .pulse-btn {
        padding: 7px 15px;
        font-size: 0.8rem;
    }
}

/* Fix for mobile navigation */

/* Fix for mobile images */
@media (max-width: 768px) {
    .modern-img img {
        max-width: 100%;
        height: auto;
    }
    
    .section_text_graphic_image img {
        max-width: 100%;
        height: auto;
    }
}

/* Fix for mobile tables */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Fix for mobile forms */
@media (max-width: 576px) {
    .input-group {
        flex-direction: column;
    }
    
    .input-group-prepend {
        margin-bottom: 5px;
    }
    
    .input-group-text {
        border-radius: 6px;
        margin-bottom: 5px;
    }
    
    .input-group .modern-input {
        border-radius: 6px;
    }
}

/* Fix for mobile footer */
@media (max-width: 576px) {
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .col-md-4 {
        margin-bottom: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    
    .footer-bottom-links li {
        margin: 0 10px 10px 0;
    }
}

/* Fix for mobile preloader */
@media (max-width: 576px) {
    .preloader-container svg {
        width: 80px;
        height: 80px;
    }
    
    .preloader-container span {
        font-size: 0.9rem;
    }
}

/* Offcanvas Menu Styles */
.navbar-toggle.offcanvas-toggle.menu-btn-span-bar,
.navbar-toggle.offcanvas-toggle.menu-btn-span-bar.js-offcanvas-has-events {
    background: transparent;
    border: none;
    padding: 15px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    display: none;
    margin-left: auto;
    outline: none !important;
}

.navbar-toggle.offcanvas-toggle.menu-btn-span-bar:focus,
.navbar-toggle.offcanvas-toggle.menu-btn-span-bar.js-offcanvas-has-events:focus {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggle.offcanvas-toggle.menu-btn-span-bar span,
.navbar-toggle.offcanvas-toggle.menu-btn-span-bar.js-offcanvas-has-events span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navbar-toggle.offcanvas-toggle.menu-btn-span-bar.is-open span:nth-child(1),
.navbar-toggle.offcanvas-toggle.menu-btn-span-bar.js-offcanvas-has-events.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.offcanvas-toggle.menu-btn-span-bar.is-open span:nth-child(2),
.navbar-toggle.offcanvas-toggle.menu-btn-span-bar.js-offcanvas-has-events.is-open span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.offcanvas-toggle.menu-btn-span-bar.is-open span:nth-child(3),
.navbar-toggle.offcanvas-toggle.menu-btn-span-bar.js-offcanvas-has-events.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.offcanvas-stop-scrolling {
    overflow: hidden;
}

@media (max-width: 768px) {
    .navbar-toggle.offcanvas-toggle.menu-btn-span-bar,
    .navbar-toggle.offcanvas-toggle.menu-btn-span-bar.js-offcanvas-has-events {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        right: 15px !important;
        top: 15px !important;
    }
    
    .navbar-offcanvas {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .navbar-offcanvas.in {
        right: 0;
    }
    
    .navbar-offcanvas .nav-link {
        color: #fff;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .navbar-offcanvas .nav-link:hover {
        color: #fff;
    }
    
    .navbar-offcanvas .modern-btn {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    .modern-nav .navbar-nav {
        padding: 15px 0;
    }
    
    .modern-nav .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Contact Page Mobile Styles */
@media (max-width: 768px) {
    /* Contact Form Container */
    .form-card {
        padding: 15px;
        margin: 10px;
        border-radius: 8px;
    }

    /* Form Title */
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Form Groups */
    .modern-input-group {
        margin-bottom: 12px;
    }

    /* Labels */
    .modern-label {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    /* Input Fields */
    .modern-input {
        font-size: 0.85rem;
        padding: 10px;
        height: auto;
    }

    /* Input Groups */
    .input-group {
        flex-direction: column;
    }

    .input-group-prepend {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .input-group-text {
        border-radius: 6px;
        width: 100%;
        justify-content: center;
    }

    .input-group .modern-input {
        border-radius: 6px;
        width: 100%;
    }

    /* Submit Button */
    .pulse-btn {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }

    /* Contact Page Layout */
    .container.mt-25 {
        padding: 15px;
    }

    .col-md-5.pt-15 {
        padding: 15px;
        text-align: center;
    }

    .main-header-top-title {
        font-size: 1.8rem;
    }

    .contact-us-hero-title {
        font-size: 1.4rem;
    }

    .main-header-sub-title {
        font-size: 0.9rem;
    }

    /* Map Container */
    .map-container {
        margin: 10px;
        border-radius: 8px;
        overflow: hidden;
    }

    .map-container iframe {
        height: 300px;
    }

    /* Immediate Help Section */
    .immediate-help-center-title {
        font-size: 1.4rem;
    }

    .immediate-help-center-text {
        font-size: 0.9rem;
    }

    .immediate-help-center-link {
        font-size: 0.9rem;
        display: block;
        margin: 5px 0;
    }

    /* Form Messages */
    #form-messages {
        font-size: 0.9rem;
        padding: 10px;
        margin-bottom: 15px;
    }

    /* Footer Contact Info */
    .footer-contact li {
        font-size: 0.9rem;
    }

    .footer-contact li i {
        margin-right: 8px;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .form-card {
        padding: 12px;
        margin: 8px;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .modern-input {
        font-size: 0.8rem;
        padding: 8px;
    }

    .input-group-text {
        padding: 8px;
    }

    .pulse-btn {
        padding: 10px;
        font-size: 0.85rem;
    }

    .main-header-top-title {
        font-size: 1.6rem;
    }

    .contact-us-hero-title {
        font-size: 1.2rem;
    }

    .map-container iframe {
        height: 250px;
    }
} 