
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Global Styles */
body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar*/
.top-bar {
    background-color: #f8f8f8;
    padding: 8px 0;
    border-bottom: 1px solid #e7e7e7;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    margin-right: 20px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.contact-info a i {
    margin-right: 5px;
    color: #e67e22;
}

.social-icons a {
    margin-left: 10px;
    font-size: 16px;
    color: #555;
    text-decoration: none;
}

.social-icons a:hover, .contact-info a:hover {
    color: #e67e22;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 90px;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #9c7801;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    font-weight: 600;
    color: #334;
    transition: color 0.3s;
    padding: 10px 0;
}

nav ul li a:hover {
    color: #e67e22;
}

nav ul li a.active {
    color: #e67e22;
    border-bottom: 2px solid #e67e22;
}

/* Style for menu items with dropdowns */
nav ul li.has-mega-menu,
nav ul li.has-dropdown {
    position: relative;
}

/* The dropdown toggle icon button */
.dropdown-toggle {
    display: none; /* Hidden by default (desktop view) */
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    color: #555;
    transition: color 0.3s;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

/* Rotate icon when dropdown is active */
.dropdown-toggle.active i {
    transform: rotate(180deg);
}

.login-btn {
    background-color: #e67e22;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #d35400;
}

/* Mega Menu for Loans */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 800px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    border-radius: 4px;
    padding: 20px;
    display: flex;
}

/* Desktop hover behavior */
@media screen and (min-width: 1201px) {
    nav ul li:hover > .mega-menu,
    nav ul li:hover > .mega-menu1 {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(6%);
    }
}

.mega-column {
    flex: 1;
    padding: 0 15px;
}

.mega-column h3 {
    color: #e67e22;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 10px;
}

.mega-column ul {
    display: block;
}

.mega-column ul li {
    width: 100%;
    padding: 10px;
}

.mega-column ul li a {
    padding: 1px 0;
    color: #555;
    font-weight: normal;
}

.mega-column ul li a:hover {
    color: #e67e22;
    background-color: transparent;
    padding-left: 5px;
}

/* Media Gallery dropdown menu */
.mega-menu1 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 220px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    border-radius: 4px;
    padding: 10px;
    display: flex;
}

.mega-column1 {
    flex: 1;
    padding: 0 15px;
}

.mega-column1 ul {
    display: block;
}

.mega-column1 ul li {
    width: 100%;
    padding: 10px;
}

.mega-column1 ul li a {
    padding: 1px 0;
    color: #555;
    font-weight: normal;
}

.mega-column1 ul li a:hover {
    color: #e67e22;
    background-color: transparent;
    padding-left: 5px;
}

/* Mobile responsive rules */
@media screen and (max-width: 1200px) {
    .header-container {
        flex-wrap: wrap;
        position: relative;
        padding: 15px 15px;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .menu-toggle {
        display: flex !important;
        order: 3;
    }
    
    nav {
        flex-basis: 100%;
        order: 4;
        display: none;
        width: 100%;
    }
    
    nav.open {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 0;
        padding: 10px 0;
        border-top: 1px solid #eee;
    }
    
    nav ul li a.active {
        border-bottom: none;
        color: #e67e22;
    }
    
    .social-icons {
        display: none;
    }
    
    /* Show dropdown toggle in mobile view */
    .dropdown-toggle {
        display: block;
        top: 5px; /* Align with link text */
    }
    
    /* Adjust the parent link to make room for the toggle button */
    nav ul li.has-mega-menu > a,
    nav ul li.has-dropdown > a {
        padding-right: 40px;
    }
    
    /* Hide mega menus initially in mobile view */
    .mega-menu, .mega-menu1 {
        display: none;
        opacity: 0;
        visibility: hidden;
    }
    
    /* When dropdown is active, display it */
    .mega-menu.active, .mega-menu1.active {
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        padding: 0 0 0 15px; /* Add indentation for child items */
    }
    
    /* Override hover behavior in mobile view */
    nav ul li:hover > .mega-menu,
    nav ul li:hover > .mega-menu1 {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(10px);
    }
    
    /* Ensure active state works correctly */
    nav ul li:hover > .mega-menu.active,
    nav ul li:hover > .mega-menu1.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    /* Collapse mega-menu columns in mobile view */
    .mega-column, .mega-column1 {
        width: 100%;
        padding: 0;
    }
    
    /* Adjust headings for mobile */
    .mega-column h3 {
        padding: 10px 0;
        margin-bottom: 0;
    }
}

/* Menu toggle animation */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}




 /* Footer styling */
        footer {
            background-color: #222;
            color: #ffffff;
            padding: 60px 0 30px;
        }

        /* Main container layout */
        .footer-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 20px;
        }

        /* Column styling for the first three columns */
        .footer-column {
            min-width: 200px;
            max-width: 545px;
            padding: 15px;
            margin-bottom: 20px;
        }

        /* Special styling for Company Logo column */
        .footer-column.company-logo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }

        /* Company logo image styling */
        .company-logo-img {
            max-width: 280px;
            height: auto;
            margin-bottom: 20px;
        }


        /* Company description styling */
        .company-description {
            font-size: 14px;
            line-height: 1.6;
            color: #ffffff;
            margin-bottom: 20px;
        }

        /* Social media icons */
        .social-media {
            display: flex;
            gap: 15px;
            margin-top: 10px;
        }

        .social-media a {
            color: #fffdfd;
            font-size: 20px;
            transition: color 0.3s ease;
        }

        .social-media a:hover {
            color: #e67e22;
        }

        /* Special styling for Contact Us column */
        .footer-column:last-child {
            flex-basis: 100%;
            order: 4;
            max-width: 100%;
        }

        /* Column headings */
        .footer-column h3 {
            color: white;
            font-size: 18px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3:after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background-color: #e67e22;
            bottom: 0;
            left: 0;
        }

        /* Paragraph styling */
        .footer-column p {
            margin-bottom: 15px;
            font-size: 14px;
            line-height: 1.6;
        }

        /* Footer links styling */
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #ffffff;
            transition: color 0.3s;
            font-size: 14px;
            text-decoration: none;
        }

        .footer-links a:hover {
            color: #e67e22;
        }

        /* Office locations grid layout */
        .office-locations {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 10px;
        }

        /* Individual office styling */
        .office-item {
            border-bottom: 1px dotted #444;
            padding-bottom: 15px;
        }

        .office-item h4 {
            color: #e67e22;
            font-size: 16px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .office-item h4 i {
            margin-right: 8px;
        }

        /* Contact item styling */
        .contact-item {
            display: flex;
            margin-bottom: 15px;
            align-items: flex-start;
        }

        .contact-icon {
            color: #e67e22;
            margin-right: 10px;
            font-size: 16px;
            min-width: 20px;
            padding-top: 3px;
        }

        /* Copyright section */
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #444;
            margin-top: 30px;
            font-size: 14px;
        }
        .copyrightwords{
            color: #747474;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .footer-column {
                flex-basis: 100%;
                max-width: 100%;
            }
            
            .office-locations {
                grid-template-columns: 1fr;
            }

            .company-logo {
                align-items: center;
                text-align: center;
            }

            .company-logo-img {
                max-width: 250px;
            }
            /* .logo img {
                height: 40px;
            } */
        }



        /* Whatsapp content */

                .content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            color: white;
            padding-top: 100px;
        }

        .content h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .content p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
            line-height: 1.6;
        }

        /* WhatsApp Widget Container */
        .whatsapp-widget {
            position: fixed;
            bottom: 25px;
            right: 25px;
            z-index: 1000;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        /* Chat Bubble */
        .chat-bubble {
            position: absolute;
            bottom: 80px;
            right: 0;
            background: white;
            border-radius: 20px;
            padding: 20px;
            width: 280px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            transform: translateY(20px) scale(0.8);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .chat-bubble.show {
            transform: translateY(0) scale(1);
            opacity: 1;
            visibility: visible;
        }

        .chat-bubble::after {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 20px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid white;
        }

        .chat-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, #25D366, #128C7E);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            position: relative;
        }

        .avatar::after {
            content: '';
            position: absolute;
            bottom: 2px;
            right: 2px;
            width: 12px;
            height: 12px;
            background: #4CAF50;
            border: 2px solid white;
            border-radius: 50%;
        }

        .avatar svg {
            width: 24px;
            height: 24px;
            fill: white;
        }

        .chat-info h4 {
            color: #1a1a1a;
            font-size: 16px;
            font-weight: 600;
            margin: 0;
        }

        .chat-info p {
            color: #4CAF50;
            font-size: 12px;
            margin: 2px 0 0 0;
            font-weight: 500;
        }

        .chat-message {
            background: #f8f9fa;
            padding: 12px 15px;
            border-radius: 15px;
            margin-bottom: 15px;
            font-size: 14px;
            color: #333;
            line-height: 1.4;
            border-left: 3px solid #25D366;
        }

        .chat-button {
            background: linear-gradient(135deg, #25D366, #128C7E);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

        .chat-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
        }

        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            font-size: 18px;
            color: #999;
            cursor: pointer;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .close-btn:hover {
            background: #f0f0f0;
            color: #666;
        }

        /* Main WhatsApp Button */
        .whatsapp-btn {
            width: 65px;
            height: 65px;
            background: linear-gradient(135deg, #25D366, #128C7E);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .whatsapp-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
        }

        .whatsapp-btn:active {
            transform: scale(0.95);
        }

        .whatsapp-btn svg {
            width: 35px;
            height: 35px;
            fill: white;
            z-index: 2;
        }

        /* Ripple effect */
        .whatsapp-btn::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transform: scale(0);
            transition: transform 0.6s ease;
        }

        .whatsapp-btn:hover::before {
            transform: scale(1);
        }

        /* Notification badge */
        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #ff4444;
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-5px);
            }
            60% {
                transform: translateY(-3px);
            }
        }

        /* Floating particles */
        .particle {
            position: absolute;
            width: 6px;
            height: 6px;
            background: rgba(37, 211, 102, 0.6);
            border-radius: 50%;
            animation: float 3s infinite ease-in-out;
        }

        .particle:nth-child(1) { top: -10px; left: 10px; animation-delay: 0s; }
        .particle:nth-child(2) { top: -5px; right: 15px; animation-delay: 1s; }
        .particle:nth-child(3) { bottom: -8px; left: 20px; animation-delay: 2s; }

        @keyframes float {
            0%, 100% { transform: translateY(0) opacity(1); }
            50% { transform: translateY(-20px) opacity(0.3); }
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .whatsapp-widget {
                bottom: 20px;
                right: 20px;
            }
            
            .whatsapp-btn {
                width: 60px;
                height: 60px;
            }
            
            .whatsapp-btn svg {
                width: 30px;
                height: 30px;
            }
            
            .chat-bubble {
                width: 260px;
                bottom: 75px;
                right: -10px;
            }
            
            .content h1 {
                font-size: 2rem;
            }
        }
        @media (max-width:360px) {
            .logo img {
                height: 70px;
            }
            
        }


