<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="author" content="Untree.co">
    <link rel="shortcut icon" href="logo.png">
    <meta name="description" content="" />
    <meta name="keywords" content="bootstrap, bootstrap4" />
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
    <link href="css/tiny-slider.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <title>RotomaxElectric</title>
    
    <style>
        /* Reset all conflicting styles first */
        * {
            box-sizing: border-box;
        }
        
        /* Navbar Styling */
        .custom-navbar {
            /*background-color: #0f172a !important;*/
            padding: 0.5rem 0;
            position: relative;
            z-index: 1030;
        }
        
        /* Navbar Brand Logo */
        .navbar-brand img {
            height: 120px;
            transition: all 0.3s ease;
        }
        
        /* Navbar Links */
        .custom-navbar-nav .nav-link {
            color: #ff6600 !important;
            font-weight: 500;
            padding: 0.5rem 1rem;
            margin: 0 0.25rem;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .custom-navbar-nav .nav-link:hover {
            color: #ff6600 !important;
            transform: translateY(-2px);
        }
        
        .custom-navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background-color: #ff6600;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }
        
        .custom-navbar-nav .nav-link:hover::after {
            width: 80%;
        }
        
        /* Dropdown Toggle Arrow */
        .dropdown-toggle::after {
            margin-left: 5px;
            vertical-align: middle;
            transition: transform 0.3s ease;
        }
        
        .dropdown-toggle.show::after {
            transform: rotate(180deg);
        }
        
        /* Dropdown Menu - FIXED */
        .dropdown-menu {
            background-color: #ffffff !important;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            padding: 15px 0;
            min-width: 280px;
            margin-top: 10px !important;
            animation: fadeIn 0.3s ease;
            display: block !important;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 1050 !important;
        }
        
        /* Show dropdown */
        .dropdown-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        /* Dropdown Items */
        .dropdown-item {
            color: #333333 !important;
            padding: 10px 25px !important;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }
        
        .dropdown-item:hover {
            background-color: rgba(255, 102, 0, 0.1) !important;
            color: #ff6600 !important;
            border-left: 3px solid #ff6600;
            padding-left: 30px !important;
            transform: translateX(5px);
        }
        
        .dropdown-item.active {
            background-color: rgba(255, 102, 0, 0.15) !important;
            color: #ff6600 !important;
            border-left: 3px solid #ff6600;
        }
        
        /* Dropdown Headers */
        .dropdown-header {
            color: #0f172a;
            font-weight: 600;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            /*padding: 10px 25px;*/
            /*margin-bottom: 5px;*/
            /*border-bottom: 1px solid #f0f0f0;*/
        }
        
        /* Dropdown Dividers */
        .dropdown-divider {
            margin: 10px 0;
            border-color: #f0f0f0;
        }
        
        /* Hover dropdown for desktop */
        @media (min-width: 992px) {
            .nav-item.dropdown:hover .dropdown-menu {
                display: block !important;
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
        }
        
        /* Mobile dropdown styling */
        @media (max-width: 991px) {
            .dropdown-menu {
                background-color: #1e293b !important;
                border: 1px solid #334155;
                box-shadow: none;
                margin-left: 15px;
            }
            
            .dropdown-item {
                color: #ffffff !important;
            }
            
            .dropdown-item:hover {
                background-color: rgba(255, 102, 0, 0.2) !important;
                color: #ff6600 !important;
            }
            
            .dropdown-header {
                color: #ff6600;
                border-bottom: 1px solid #334155;
            }
            
            .dropdown-divider {
                border-color: #334155;
            }
            
            .navbar-collapse {
                background-color: #0f172a;
                padding: 15px;
                border-radius: 8px;
                margin-top: 10px;
            }
        }
        
        /* Animation */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Body padding to prevent content hiding under navbar */
    
        
        /* Ensure content stays below navbar */
        .container {
            position: relative;
            z-index: 1;
        }
        
        /* Toggler button styling */
        .navbar-toggler {
            border: 2px solid #ff6600;
            padding: 5px 10px;
        }
        
        .navbar-toggler:focus {
            box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.5);
        }
        
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 102, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
        @media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
    </style>
</head>

<body>

    <!-- Navigation -->
    <nav class="custom-navbar navbar navbar-expand-lg navbar-dark">
        <div class="container">
            <!-- Logo -->
            <a class="navbar-brand" href="index.php">
                <img src="logo.png" alt="Rotomax Electric">
            </a>

            <!-- Mobile Toggle Button -->
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>

            <!-- Navigation Items -->
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item">
                        <a class="nav-link active" href="index.php">Home</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="about.php">About Us</a>
                    </li>
                    
                    <!-- Products Dropdown -->
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="productsDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                            Products
                        </a>
                        <ul class="dropdown-menu" aria-labelledby="productsDropdown">
                            <!-- PMDC Motors Section -->
                            <li class="dropdown-header">PMDC MOTORS / GEARED MOTORS</li>
                            <li><a class="dropdown-item" href="d63-series-pmdc-motors.php">D63 Series PMDC Motors</a></li>
                            <li><a class="dropdown-item" href="d75-series-pmdc-motors.php">D75 Series PMDC Motors</a></li>
                            <li><a class="dropdown-item" href="d90-series-pmdc-motors.php">D90 Series PMDC Motors</a></li>
                            <li><a class="dropdown-item" href="d118-series-pmdc-motors.php">D118 Series PMDC Motors</a></li>
                            <li><a class="dropdown-item" href="d127-series-pmdc-motors.php">D127 Series PMDC Motors</a></li>
                            <li><a class="dropdown-item" href="d142-series-pmdc-motors.php">D142 Series PMDC Motors</a></li>
                            
                            <li class="dropdown-divider"></li>
                            
                            <!-- DC Drives Section -->
                            <li class="dropdown-header">DC DRIVES</li>
                            <li><a class="dropdown-item" href="dc_drives.php">DC Drives</a></li>
                            <li><a class="dropdown-item" href="FHP_ac_motors.php">FHP AC Motors</a></li>
                            
                            <li class="dropdown-divider"></li>
                            
                            <!-- Other Products -->
                            <li class="dropdown-header">OTHER PRODUCTS</li>
                            <li><a class="dropdown-item" href="AC-Induction-Motors.php">AC Induction Motors/Geared Motors</a></li>
                            <li><a class="dropdown-item" href="ac_synchronous_motors.php">AC Synchronous Motors</a></li>
                            <li><a class="dropdown-item" href="tacho_generators.php">Tacho Generators</a></li>
                        </ul>
                    </li>
                    
                    <li class="nav-item">
                        <a class="nav-link" href="custom.php">Custom Solutions</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="services.php">Suppliers</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="enquiery.php">Enquiry</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="contact.php">Contact Us</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>


  