/*
 * Modern Theme Styles for IFTM University WordPress Theme
 * Ultra-modern header and articles design with advanced features
 */

/* ==========================================================================
   Modern Header Styles
   ========================================================================== */

.modern-header {
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #1b1f52 0%, #2a2f6a 100%);
    color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-left {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar-left a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a:hover {
    color: #f47621;
    transform: translateX(3px);
}

.top-bar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f47621;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(244, 118, 33, 0.4);
}

.quick-links {
    display: flex;
    gap: 20px;
}

.quick-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.quick-links a:hover {
    background: #f47621;
    transform: translateY(-2px);
}

/* Main Navigation */
.main-navigation {
    background: #ffffff;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.main-navigation.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-navigation.scrolled {
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: block;
}

.main-logo {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

.scrolled .main-logo {
    height: 55px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1b1f52;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: #f47621;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 20px;
    color: #1b1f52;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: #f47621;
    transition: transform 0.3s ease;
}

.menu-item > a:hover {
    color: #f47621;
    background: rgba(244, 118, 33, 0.05);
}

.menu-item > a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.menu-item.highlight-menu > a {
    background: linear-gradient(135deg, #f47621 0%, #ff8c42 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(244, 118, 33, 0.3);
}

.menu-item.highlight-menu > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 118, 33, 0.4);
}

.menu-item.highlight-menu > a::after {
    display: none;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding: 15px 0;
    margin-top: 10px;
}

.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: rgba(244, 118, 33, 0.1);
    color: #f47621;
    padding-left: 30px;
}

.dropdown-menu a i {
    color: #f47621;
    font-size: 16px;
}

/* Mega Menu */
.mega-menu {
    min-width: 600px;
}

.mega-menu-3col {
    min-width: 800px;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px;
}

.mega-menu-3col .mega-menu-content {
    grid-template-columns: repeat(3, 1fr);
}

.mega-menu-column h4 {
    color: #1b1f52;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f47621;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle,
.mobile-menu-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #1b1f52;
    font-size: 18px;
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
    background: rgba(244, 118, 33, 0.1);
    color: #f47621;
    transform: scale(1.1);
}

.whatsapp-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1b1f52;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 31, 82, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    max-width: 700px;
    width: 90%;
    position: relative;
}

.search-container form {
    display: flex;
    gap: 10px;
}

.search-container input {
    flex: 1;
    padding: 20px 30px;
    font-size: 24px;
    border: none;
    border-radius: 50px;
    background: #ffffff;
    color: #333;
}

.search-container button[type="submit"] {
    width: 70px;
    height: 70px;
    border: none;
    background: #f47621;
    color: #ffffff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-container button[type="submit"]:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(244, 118, 33, 0.5);
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    transform: rotate(90deg);
    color: #f47621;
}

/* ==========================================================================
   Modern Articles Area
   ========================================================================== */

.site-content {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1b1f52 0%, #2a2f6a 50%, #f47621 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* Blog Container */
.blog-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .blog-container {
        grid-template-columns: 2fr 1fr;
    }
}

/* Modern Post Card */
.post {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 118, 33, 0.05) 0%, rgba(27, 31, 82, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.post:hover::before {
    opacity: 1;
}

/* Post Thumbnail */
.post-thumbnail {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.post-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post:hover .post-thumbnail img {
    transform: scale(1.1);
}

/* Post Content */
.post-content-wrapper {
    padding: 35px;
}

.post-categories {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-categories a {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: linear-gradient(135deg, #f47621 0%, #ff8c42 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(244, 118, 33, 0.3);
}

.post-categories a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 118, 33, 0.4);
}

.post-title {
    font-size: 32px;
    font-weight: 800;
    color: #1b1f52;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-title a {
    color: #1b1f52;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(to right, #f47621 0%, #f47621 100%);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
}

.post-title a:hover {
    color: #f47621;
    background-size: 100% 2px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.post-meta i {
    color: #f47621;
    font-size: 16px;
}

.post-excerpt {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #f47621 0%, #ff8c42 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(244, 118, 33, 0.3);
    position: relative;
    overflow: hidden;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.read-more:hover::before {
    width: 300px;
    height: 300px;
}

.read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 118, 33, 0.4);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    margin-bottom: 35px;
    transition: all 0.3s ease;
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.widget-title {
    font-size: 22px;
    font-weight: 800;
    color: #1b1f52;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f47621;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #1b1f52;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li:hover {
    padding-left: 10px;
}

.widget ul li a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.widget ul li a::before {
    content: '\f105';
    font-family: 'FontAwesome';
    color: #f47621;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.widget ul li a:hover {
    color: #f47621;
}

.widget ul li a:hover::before {
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 60px 0 40px;
}

.pagination a,
.pagination span {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #f47621;
    color: #ffffff;
    border-color: #f47621;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 118, 33, 0.3);
}

.pagination .current {
    background: linear-gradient(135deg, #1b1f52 0%, #2a2f6a 100%);
    color: #ffffff;
    border-color: #1b1f52;
    box-shadow: 0 5px 15px rgba(27, 31, 82, 0.3);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 991px) {
    .top-bar-left,
    .top-bar-right {
        justify-content: center;
    }
    
    .quick-links {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
    
    .main-logo {
        height: 50px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .post-thumbnail {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        text-align: center;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .page-header {
        padding: 40px 20px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .post-content-wrapper {
        padding: 25px;
    }
    
    .post-title {
        font-size: 22px;
    }
    
    .post-excerpt {
        font-size: 15px;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post {
    animation: fadeInUp 0.6s ease forwards;
}

.post:nth-child(2) {
    animation-delay: 0.1s;
}

.post:nth-child(3) {
    animation-delay: 0.2s;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}


/* ==========================================================================
   Back to Top Button
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f47621 0%, #ff8c42 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(244, 118, 33, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(244, 118, 33, 0.5);
}

/* ==========================================================================
   Reading Progress Bar
   ========================================================================== */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.1);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f47621 0%, #ff8c42 100%);
    width: 0%;
    transition: width 0.1s ease;
}

/* ==========================================================================
   Reading Time Badge
   ========================================================================== */

.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(244, 118, 33, 0.1);
    color: #f47621;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

.reading-time i {
    font-size: 14px;
}

/* ==========================================================================
   Mobile Menu Styles
   ========================================================================== */

@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        padding: 80px 20px 20px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 9998;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu.mobile-active {
        right: 0;
    }
    
    .menu-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .menu-item > a {
        width: 100%;
        justify-content: space-between;
        padding: 15px 10px;
        border-radius: 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        display: none;
        background: #f8f9fa;
    }
    
    .menu-item.active .dropdown-menu {
        display: block;
    }
    
    .mega-menu {
        min-width: auto;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9997;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .modern-header,
    .sidebar,
    .back-to-top,
    .reading-progress,
    .nav-actions,
    .post-meta,
    .read-more,
    .pagination {
        display: none !important;
    }
    
    .post {
        box-shadow: none;
        page-break-inside: avoid;
    }
}


/* ==========================================================================
   Enquiry Form Styles
   ========================================================================== */

.iftm-enquiry-form {
    background: linear-gradient(135deg, #1b1f52 0%, #2a2f6a 100%);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.enquiry-form-header {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
}

.enquiry-form-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.enquiry-form-header h3 i {
    color: #f47621;
    margin-right: 10px;
}

.enquiry-form-header p {
    font-size: 16px;
    opacity: 0.9;
}

.enquiry-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1b1f52;
    font-size: 14px;
}

.form-group label i {
    color: #f47621;
    margin-right: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f47621;
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 118, 33, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #f47621 0%, #ff8c42 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(244, 118, 33, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 118, 33, 0.4);
}

.submit-btn i {
    margin-right: 8px;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .iftm-enquiry-form {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .enquiry-form {
        padding: 20px;
    }
    
    .enquiry-form-header h3 {
        font-size: 22px;
    }
}

/* ==========================================================================
   Enquiry Popup Styles
   ========================================================================== */

.enquiry-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.enquiry-popup.active {
    display: flex;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    background: #ffffff;
    max-width: 500px;
    width: 90%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: popupSlideIn 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.popup-close:hover {
    background: #f47621;
    color: #ffffff;
    transform: rotate(90deg);
}

.popup-header {
    background: linear-gradient(135deg, #1b1f52 0%, #2a2f6a 100%);
    padding: 40px 30px 30px;
    text-align: center;
    color: #ffffff;
    border-radius: 20px 20px 0 0;
}

.popup-icon {
    width: 70px;
    height: 70px;
    background: #f47621;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(244, 118, 33, 0.4);
}

.popup-header h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.popup-header p {
    font-size: 15px;
    opacity: 0.9;
}

.popup-form {
    padding: 30px;
}

.popup-form .form-group {
    margin-bottom: 15px;
}

.popup-form input,
.popup-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.popup-form input:focus,
.popup-form select:focus {
    border-color: #f47621;
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 118, 33, 0.1);
}

.popup-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f47621 0%, #ff8c42 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(244, 118, 33, 0.3);
}

.popup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 118, 33, 0.4);
}

.popup-submit-btn i {
    margin-right: 8px;
}

.popup-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.popup-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.popup-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.popup-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.popup-footer p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.popup-footer a {
    color: #f47621;
    font-weight: 700;
    text-decoration: none;
}

.popup-footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .popup-header {
        padding: 30px 20px 20px;
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .popup-header h3 {
        font-size: 22px;
    }
    
    .popup-form {
        padding: 20px;
    }
    
    .popup-footer {
        padding: 15px 20px;
    }
}
